-
Notifications
You must be signed in to change notification settings - Fork 5
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
swaggger ui error in production #211
Comments
Some updates have been done in branch To make that fully work, I am also starting to upgrade the openapi generator maven plugin to the community version which will make us consistent with the python api client and apparently the project is the most dynamic to have the latest features and bug fixes. |
@tloubrieu-jpl production server is still showing the same error. |
@gxtchen the version 1.2.0 tested by I&T is not deployed in production yet. I will deploy on gamma today where you should be able to test, as if in production. |
Hi @gxtchen , I deployed on gamma https://pds.nasa.gov/api/search-en-gamma/1/swagger-ui/index.html You can add it to the test results. |
π Describe the bug
See URL https://pds.nasa.gov/api/search/1/swagger-ui/index.html
π΅οΈ Expected behavior
The description of the API end-point should be visible when one arrives on the page.
π Version of Software Used
registry-api 1.1.11 in the production environment
π©Ί Test Data / Additional context
The behavior is different in production since the base URL of the API service is not a host name (as for
http://pds.nasa.gov
orhttp://localhost:8080
) but there is a piece of URL path (/api/search/1
) before the API sub-path. The swagger ui works if you replace/apidocs
byhttps://pds.nasa.gov/api/search/1/api-docs
in the input text on the top.We need that to work by default
πScreenshots
π₯ System Info
π¦ Related requirements
βοΈ Engineering Details
The text was updated successfully, but these errors were encountered: