Base solution for your next web application
Open Closed

Multiple documents in swagger documentation #2544


User avatar
0
edvin created

Hi,

we want to split single swagger documentation to multiple documents based on f.e. on modules.

In swashbuckle we can use ApiExplorer setting decorator atribute or custom convention.

How we can do it if we use dynamic generation of webapi controllers (CreateControllersForAppServices in .NET core version) ? Is there any parameter ?

Thanks for advance.

Edvin

Markdown is supported
Copy & paste or drag & drop images (max 30 MB per image)

1 Answer(s)
  • User Avatar
    0
    ismcagdas created
    Support Team

    Hi,

    There is no buşlt in attribute for that. I haven't tried it but this might be helpful <a class="postlink" href="https://github.com/domaindrivendev/Swashbuckle.AspNetCore#assign-actions-to-documents-by-convention">https://github.com/domaindrivendev/Swas ... convention</a>.

    Markdown is supported
    Copy & paste or drag & drop images (max 30 MB per image)