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

There is no way to change api-key name #1921

Closed
bssergy opened this issue Jan 27, 2016 · 6 comments
Closed

There is no way to change api-key name #1921

bssergy opened this issue Jan 27, 2016 · 6 comments

Comments

@bssergy
Copy link

bssergy commented Jan 27, 2016

How can I change 'api-key' name? In my API I use 'token' key name

@webron
Copy link
Contributor

webron commented Jan 27, 2016

@bssergy
Copy link
Author

bssergy commented Jan 28, 2016

I saw it, but how can I change key name in html, when I am using https://www.npmjs.com/package/swagger-tools for my api?

@webron
Copy link
Contributor

webron commented Jan 28, 2016

I don't get the question. You edit the html.

@fehguy
Copy link
Contributor

fehguy commented Jan 29, 2016

Depending on how you're using swagger-tools, there may be an index.html being served up automatically. I'm not sure where that file "lives" but I'm certain that @whitlockjc has made it configurable. You might ask in the swagger-tools project repo because the default swagger index.html gets you started, but everyone needs to skin it or change the key name.

@bssergy
Copy link
Author

bssergy commented Jan 29, 2016

Thanks guys! I ask this in swagger-tools team. You may close this issue.

@whitlockjc
Copy link
Contributor

I'll respond there.

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

No branches or pull requests

4 participants