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

Unable to request API schema with Authorization header passed #4089

Closed
and3rson opened this issue Jan 9, 2018 · 2 comments
Closed

Unable to request API schema with Authorization header passed #4089

and3rson opened this issue Jan 9, 2018 · 2 comments

Comments

@and3rson
Copy link

and3rson commented Jan 9, 2018

Q A
Bug or feature request? Bug
Which Swagger/OpenAPI version? Latest
Which Swagger-UI version? Latest
How did you install Swagger-UI? unpkg.com
Which browser & version? Chrome
Which operating system? ArchLinux rolling

Description

I'm trying to request API schema from Django REST framework. It will return different schemas depending on the authorization that is passed to the schema endpoint.

Expected Behavior

Hitting "Explore" should request API schema with provided credentials.

Current Behavior

No way to request API schema with "Authorization" header.

Any ideas on how to perform this?

@pablocoberly
Copy link

pablocoberly commented Jan 9, 2018

See #2793 (comment)

@webron
Copy link
Contributor

webron commented Jul 12, 2018

Closing as a workaround (linked) currently exists.

@webron webron closed this as completed Jul 12, 2018
@lock lock bot locked and limited conversation to collaborators Jul 12, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants