RicoSuter/NSwag

dynamically add document groups

Open

#2166 aperta il 13 mag 2019

Vedi su GitHub
 (1 commento) (0 reazioni) (0 assegnatari)C# (1189 fork)batch import
help wantedproject: NSwag.AspNetCoretype: enhancement

Metriche repository

Star
 (6291 star)
Metriche merge PR
 (Nessuna PR mergiata in 30 g)

Descrizione

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

Guida contributor