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

Math in Unity : LookAt()

10 BEST Kubernetes monitoring tools

How to ask for a referral?

In Utero


OSINT With Buscador

Deploy WordPress and MySQL with Persistent Volume Over K8S Cluster using Ansible.

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

.NET Unit Testing Code Coverage Report in Azure DevOps Build Pipeline

Unit Tests a .NET 6 project with Azure Pipelines DotNetCoreCLI@2

GitHub Gist focus image

What’s New in 2021 Volume 4: Blazor

What’s New in 2021 Volume 4: Blazor

Inversion of Control IoC