RicoSuter/NSwag

dynamically add document groups

Open

#2166 opened on May 13, 2019

View on GitHub
 (1 comment) (0 reactions) (0 assignees)C# (6,291 stars) (1,189 forks)batch import
help wantedproject: NSwag.AspNetCoretype: enhancement

Description

Version Info: NSwag 12.2.5

at present, this method is cumbersome. Every time i add a new version, i have to add a code once. can you dynamically group it?

https://github.com/RicoSuter/NSwag/blob/c1d0907c4e413ab2f75cc8cd0ab7018c7c688b01/src/NSwag.SwaggerGeneration.AspNetCore.Tests.Web/Startup.cs#L41-L56

another problem is that the document in the figure below is duplicated.

image

Contributor guide