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
{{ message }}
This repository has been archived by the owner on Sep 14, 2022. It is now read-only.
Does the library not support API key security definitions (and if so please can it be added) or am I doing something wrong? If I post the above output into the swagger UI it complains there's no security definition for apiKey. The docs show it should take an in parameter and a name.
How can I annotate my API classes so that swagger-play generates the correct security definitions for an X-Auth-Token security header token?
There's an example of adding an API key definition here.
The text was updated successfully, but these errors were encountered:
This annotation doesn't produce valid output:
It should produce an accompanying securityDefinition object something like:
Instead it just produces the following:
See the docs here.
Does the library not support API key security definitions (and if so please can it be added) or am I doing something wrong? If I post the above output into the swagger UI it complains there's no security definition for
apiKey
. The docs show it should take anin
parameter and aname
.How can I annotate my API classes so that swagger-play generates the correct security definitions for an
X-Auth-Token
security header token?There's an example of adding an API key definition here.
The text was updated successfully, but these errors were encountered: