-
Notifications
You must be signed in to change notification settings - Fork 503
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
Api auth required openapi #10971
base: develop
Are you sure you want to change the base?
Api auth required openapi #10971
Conversation
@@ -1269,6 +1270,7 @@ private String getWebappImageResource(String imageName) { | |||
}) | |||
@Tag(name = "saveAuxiliaryFileWithVersion", | |||
description = "Save Auxiliary File With Version") | |||
@SecurityRequirement(name = "api_token") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why is it "api_token" and not "API token" or "API_Token" or whatever else? Is it arbitrary?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Seems that we also have to define the "security schema" and we name that security schema, we also set a type. The security schema could be named something else but in this case api_key is the name
What this PR does / why we need it:
There was a conversation on zullip at for the need of documenting the authentication requirements on the OpenAPI specification.
Which issue(s) this PR closes: