'Is it possible to be in try-it-out mode by default in Swagger 2?

I am using Swagger 2 with Springfox.

When you click on an endpoint, is there any way to have the Try-it-out mode activated by default, without having to click this button:

enter image description here



Solution 1:[1]

try this: use on startup.cs (.net5) or program.cs (.net6) enter image description here

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 mohsen mashhadi