Skip to content

openapi.yaml: use api-key for header name#98

Open
perrinjerome wants to merge 1 commit intoswagger-api:masterfrom
perrinjerome:patch-2
Open

openapi.yaml: use api-key for header name#98
perrinjerome wants to merge 1 commit intoswagger-api:masterfrom
perrinjerome:patch-2

Conversation

@perrinjerome
Copy link
Copy Markdown
Contributor

Headers with _ are stripped by some web servers.

See also OAI/OpenAPI-Specification#3225

Headers with _ are stripped by some web servers.

See also OAI/OpenAPI-Specification#3225
@perrinjerome
Copy link
Copy Markdown
Contributor Author

I see apiKey was used in

public ResponseContext deletePet(final RequestContext request, final String apiKey, final Long petId) {
, I assume it would also be OK when using api-key , but I don't know how to verify this

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant