Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is it possible Incorporate ISwaggerProvider or an OpenApiDocument ? #4431

Open
yowl opened this issue May 19, 2023 · 1 comment
Open

Is it possible Incorporate ISwaggerProvider or an OpenApiDocument ? #4431

yowl opened this issue May 19, 2023 · 1 comment

Comments

@yowl
Copy link

yowl commented May 19, 2023

Using NSwagApplicationBuilderExtensions and UseOpenApi (or UseSwagger if it is easier), can I intergrate the output of an ISwaggerProvider ? Specifically I have WebApis which are fine and CoreWCF (https://github.com/CoreWCF/CoreWCF/blob/8aad8508d82a65bc6ca79178943321fa9bf70f24/src/CoreWCF.WebHttp/src/CoreWCF/Configuration/ServiceModelWebServiceCollectionExtensions.cs#L25) apis which I'd also like rendered in the Swagger UI. As you can see CoreWCF provides an ISwaggerProvider which creates a OpenApiDocument.

Thanks,

Scott

@RicoSuter
Copy link
Owner

RicoSuter commented Sep 28, 2023

The referenced library is based on Swashbuckle and not NSwag

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants