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

doi service swagger ui does not work #389

Open
tloubrieu-jpl opened this issue Nov 11, 2022 · 3 comments
Open

doi service swagger ui does not work #389

tloubrieu-jpl opened this issue Nov 11, 2022 · 3 comments
Assignees
Labels
bug Something isn't working needs:triage open.v2.4.0

Comments

@tloubrieu-jpl
Copy link
Member

๐Ÿ› Describe the bug

๐Ÿ“œ To Reproduce

See deployment of 2.3.5 on pds-gamma:
https://pds-gamma.jpl.nasa.gov/api/doi/0.2/ui/

๐Ÿ•ต๏ธ Expected behavior

๐Ÿ“š Version of Software Used

๐Ÿฉบ Test Data / Additional context

๐ŸžScreenshots

๐Ÿ–ฅ System Info

  • OS: [e.g. iOS]
  • Browser [e.g. chrome, safari]
  • Version [e.g. 22]

๐Ÿฆ„ Related requirements

โš™๏ธ Engineering Details

@alexdunnjpl
Copy link
Contributor

alexdunnjpl commented Jan 17, 2023

Likely due to missing or incorrect API basepath in deployment configuration

https://swagger.io/docs/specification/2-0/api-host-and-base-path/

@alexdunnjpl
Copy link
Contributor

API requesting https://pds-gamma.jpl.nasa.gov/PDS_APIs/pds_doi_api/0.2/openapi.json

Should be requesting https://pds-gamma.jpl.nasa.gov/api/doi/0.2/openapi.json

Suggests basePath is /PDS_APIs/pds_doi_api/0.2 but should be /api/doi/0.2

@alexdunnjpl
Copy link
Contributor

Candidates for the offending config may be found with grep -r "PDS_APIs", but it's unclear whether this should be fixed by reinstalling with the change provided as a build/install argument.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working needs:triage open.v2.4.0
Projects
Status: ToDo
Development

No branches or pull requests

3 participants