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.
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.