Swagger Options

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.

Github: https://github.com/taskinbinbir/SwaggerOptions

--

--

--

Computer Engineer, Software Developer

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

About Infrastructure on AWS, Automated with Terraform, Ansible and GitLab CI

1,000 Hours of MVP Development: What We Learned

Reflections of a Day Trading Bot Developer

Providing Elasticity to DataNode

Your Step-by-Step Guide to a Low-code Application Development Start-up

Business Rules Document Decision Points Mapped for Ten of the S1000D Issues: 1.9 to 5.0

Closure in Golang With Fibonacci Series

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Taşkın Binbir

Taşkın Binbir

Computer Engineer, Software Developer

More from Medium

Let me introduce RabbitMQ

RabbitMQ Service start shown in Windows search results

The Facilis framework for dotnet core — the todo sample app

C# Interface JSON Serialization and Deserialization

Build Powerful Operation Result Structure With Any Transform Layers —  C#