You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm using Litestar with ScalarRenderPlugin to generate my OpenAPI API documentation. I'd like to hide the "Test Request" button in the Scalar documentation, but I can't figure out how to pass the hideTestRequestButton option in the ScalarRenderPlugin configuration.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
I'm using Litestar with
ScalarRenderPlugin
to generate my OpenAPI API documentation. I'd like to hide the "Test Request" button in the Scalar documentation, but I can't figure out how to pass thehideTestRequestButton
option in theScalarRenderPlugin
configuration.I've seen that this option exists in the Scalar configuration, as mentioned here:
https://guides.scalar.com/scalar/scalar-api-references/configuration#list-of-all-attributes__hidetestrequestbutton-boolean
I've tried adding it directly to
ScalarRenderPlugin
, but it doesn't seem to work as it's not a supported parameter.Here is my current configuration:
Could you please let me know if it's possible to add this option, or if it would need to be added to
ScalarRenderPlugin
?Thanks in advance for your help.
Beta Was this translation helpful? Give feedback.
All reactions