We can hide "Try it out" option for Methods like GET,PATCH,POST, etc... by adding
springdoc.swagger-ui.supportedSubmitMethods = Array=["get", "put", "post","patch"]
in Application.properties file.
and hide it for all Api by adding springdoc.swagger-ui.tryItOutEnabled = true
We want to hide it for a specific API.
- Is there any way to hide this by using
OpenApi 3
in Spring Boot? - Can hide the whole
Parameter
part if there is no parameter defined in API?