RicoSuter/NSwag

dynamically add document groups

Open

#2,166 opened on May 13, 2019

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

Repository metrics

Stars
 (6,291 stars)
PR merge metrics
 (No merged PRs in 30d)

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