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

Fixed Swagger UI not working #55

Merged
merged 7 commits into from
Jun 17, 2020
Merged

Fixed Swagger UI not working #55

merged 7 commits into from
Jun 17, 2020

Conversation

maheese
Copy link
Member

@maheese maheese commented Jun 11, 2020

This fixes #37. I removed the server URL from the Open API spec and moved the file so its now served from the API back end. With this change we don't need to hard code the server URLs in the spec. The API calls are assumed to be relative to the server that served the API spec. I also deleted old instances of the spec and changed the Go server to enable CORS at the server level.

@maheese maheese requested a review from jthomp13 June 11, 2020 19:53
@jthomp13 jthomp13 merged commit 1c430f2 into master Jun 17, 2020
@ntknguyen ntknguyen deleted the open-api-server-url branch June 17, 2020 15:54
@jthomp13 jthomp13 linked an issue Jul 1, 2020 that may be closed by this pull request
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

Successfully merging this pull request may close these issues.

Add link to swaggerUI from revampd Swagger UI page is not working
2 participants