-
Notifications
You must be signed in to change notification settings - Fork 9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Alternative name to api_key #36
Comments
This makes sense and should be easy enough to do; look for an update later today. |
ghost
assigned ayush
Jul 18, 2012
For details see https://github.com/wordnik/swagger-ui#api-key-parameter |
I've been testing and it's working perfectly. Just one small detail :) Before the api key text box is filled out it displays "api_key" (in light grey) when it should display the name set with apiKeyName. |
vincent-zurczak
pushed a commit
to roboconf/swagger-ui
that referenced
this issue
Aug 18, 2016
This was referenced Mar 7, 2022
This was referenced Feb 24, 2023
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Our server doesn't have a concept like api key. Instead, since it uses sessions, it has a special kind of session. For example, while testing, developers can append "?sessionID=sessionDebug" to the URL for testing purposes, to avoid asking for a proper session (and that would imply logging in, etc.).
The existing api key feature does exactly this, except that it always creates a parameter name 'api_key'. It would be nice if we could explicity set what this parameter would be named.
Like the recently created "supportedSubmitMethods" parameter, there could be a new one called "apiKeyName" that could control the name of the URL parameter of the api key (it would default to "api_key")
The text was updated successfully, but these errors were encountered: