Swagger Options
Sep 12, 2021
Hello everyone,
How to manage swagger option from json ? We are create a class and SwaggerOptions add appsettings.Development.json file.
I use .net 5.0 now.
Default options:
Firstly, I created SwaggerOptions in application.Development.json.
Then I created class that meeting the values.
Finally, I used the defined values in appsettings.Development.json.