Skip to content
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

Swagger 1.5.3: Duplication of key in CURL #1687

Closed
acinader opened this issue Oct 20, 2015 · 1 comment
Closed

Swagger 1.5.3: Duplication of key in CURL #1687

acinader opened this issue Oct 20, 2015 · 1 comment

Comments

@acinader
Copy link

Steps to reproduce:

On the v2.1.3 tag, open dist/index.html in a web browser which will open the pet api ui

Add an api key to the input box and click explore

Select the "Get User/{username}" and enter user1 into the username input box.

click "try it out"

you should get a 200.

In the Request URL field you should see:

http://petstore.swagger.io/v2/user/user1?api_key=myFunkyKey

In the Curl field you should see:

curl -X GET --header "Accept: application/json" "http://petstore.swagger.io/v2/user/user1?api_key=myFunkyKey&api_key=myFunkyKey"

Note that the api key is duplicated.

@fehguy
Copy link
Contributor

fehguy commented Jun 16, 2016

fixed in efb7765

@fehguy fehguy closed this as completed Jun 16, 2016
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

No branches or pull requests

2 participants