Cannot disable Try it out button
See original GitHub issueDescribe the bug As the Swagger UI configuration, to disable Try it out button, we have to set supportedSubmitMethods as an empty array. Because of L199, I can’t set an empty array to the property.
To Reproduce
- What version of spring-boot you are using? 2.3.3
- What modules and versions of springdoc-openapi are you using? Core, UI and Security with version 1.4.5
Minimal configuration to test:
springdoc:
api-docs:
enabled: true
swagger-ui:
enabled: true
supported-submit-methods: []
Issue Analytics
- State:
- Created 3 years ago
- Comments:5 (3 by maintainers)
Top Results From Across the Web
Swagger UI disable Try It Out button - Stack Overflow
I would like to disable Try it Out button in the API documentation. I have tried "tryItOut": false in the parameter and the...
Read more >Can "try it out" be disabled/hidden from online editor
Solved: Was curious to know if there is a way to totally hide "Try it now" feature from the documentation?
Read more >Rad button not disabled in UI for .NET MAUI | Telerik Forums
Hi, Rad button not disabled in this scenario, <telerik:RadButton AutomationId="button" Text="Search" HorizontalOptions="CenterAndExpand" VerticalOptions=".
Read more >CORS - Swagger Documentation
CORS. CORS is a technique to prevent websites from doing bad things with your personal data. Most browsers + JavaScript toolkits not only...
Read more >How to disable or enable buttons using Javascript and jQuery
Introduction to disabling/enabling buttons ... Often while filling out web forms have you noticed how the submit button just won't work unless we ......
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

@mecseid,
Great descrition and analysis. It’s now fixed on master.
@adarshv1997,
We use GitHub issues to track bugs and enhancements. If you have a general usage question please ask on Stack Overflow. The springdoc-openapi team and the broader community monitor the springdoc tag.