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

Call to swaggerUi.load before possible use. #1157

Merged
merged 1 commit into from
Apr 14, 2015

Conversation

neoecos
Copy link
Contributor

@neoecos neoecos commented Apr 13, 2015

Using addApiKeyAuthorization function, needs to be done after swaggerUi is loaded, otherwise calling window.swaggerUi.api.clientAuthorizations.add will fail, and the authorization headers will not be aded.

Using addApiKeyAuthorization function, needs to be done after swaggerUi is loaded, otherwise calling ``window.swaggerUi.api.clientAuthorizations.add`` will fail, and the authorization headers will not be aded.
@fehguy
Copy link
Contributor

fehguy commented Apr 14, 2015

@mohsen1 is this correct? Can you please review?

@fehguy fehguy added this to the v2.1 milestone Apr 14, 2015
@mohsen1
Copy link
Contributor

mohsen1 commented Apr 14, 2015

Yup, I believe the header Explore button is not working because of this. I need to confirm that, but this looks good to merge.

mohsen1 added a commit that referenced this pull request Apr 14, 2015
Call to swaggerUi.load before possible use.
@mohsen1 mohsen1 merged commit 25af301 into swagger-api:develop_2.0 Apr 14, 2015
vincent-zurczak pushed a commit to roboconf/swagger-ui that referenced this pull request Aug 18, 2016
Call to swaggerUi.load before possible use.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants