Implement IConfigureOptions<SwaggerGenOptions> instead of using AddSwaggerGen(options => {})
christianhelle opened this issue · 0 comments
christianhelle commented
We should move the AddSwaggerGen(options => {})
callback body to be an implementation of IConfigureOptions<SwaggerGenOptions>
instead to support better customization.
The SwaggerDoc(string name, OpenApiInfo info)
usage should be code generated based on the OpenAPI specifications in order to respect the Info metadata
This is a blocker for implementing features in the ATC REST API Generator for showing the OpenAPI Info metadata