Open romain-tadiello opened 11 months ago
Hello @romain-tadiello
Did you have a chance to check our feature: hideSingleRequestSampleTab, which hides the request sample tab for requests with only one sample?
I have attached the article for reference: https://redocly.com/docs/redoc/config/#hidesinglerequestsampletab
Let us know if that works for you.
Describe the problem to be solved We would like to be able to disable/hide the code samples panel for specific operation. For now we set x-codeSamples to empty but it doesn't give the ideal UI
Describe the solution you'd like It could be something similar to
x-hideTryItPanel
flag.Describe alternatives you've considered Putting
x-codeSamples
withsource: ""
which is not ideal but we can live with it