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
Seing as Swagger does not seem to support example values for securityDefinitions, I am defining an exampleToken header parameter and referencing it in every endpoint that requires the token.
Seing as Swagger does not seem to support example values for securityDefinitions, I am defining an
exampleToken
header parameter and referencing it in every endpoint that requires the token.I'm using that x-example because I'm using Dredd which needs examples for things to work, and ReDoc supports this too - which is handy!
Right now the headers are referenced as existing, but no example shows up:
Apiary has a little "Headers" section above the request body:
If this could be added to ReDoc, it would be so damn handy!
Ofc for now I've got it hacked into the description, which is fine:
The text was updated successfully, but these errors were encountered: