Skip to content

Parameters behavior #2654

Closed Answered by hkosova
mtovts asked this question in Q&A
Jul 21, 2021 · 2 comments · 1 reply
Discussion options

You must be logged in to vote

Your API definition is correct - it's OK to have parameters with the same name as long as they have different location (i.e. path vs header).

The issue you're seeing is a bug in Swagger UI. Please submit a bug report here:
https://github.com/swagger-api/swagger-ui/issues

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@mtovts
Comment options

Answer selected by mtovts
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants