Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Broken link in OpenAPI description externalDocs #3091

Closed
salim-b opened this issue Dec 5, 2023 · 1 comment · Fixed by #3655
Closed

Broken link in OpenAPI description externalDocs #3091

salim-b opened this issue Dec 5, 2023 · 1 comment · Fixed by #3655
Labels

Comments

@salim-b
Copy link
Contributor

salim-b commented Dec 5, 2023

Environment

  • PostgreSQL version: 16 (managed by neon.tech)
  • PostgREST version: postgrest/postgrest:v12.0.0
  • Operating system: -

Description of issue

The externalDocs.url field contains https://postgrest.org/en/v12.0/api.html which gives 404 Not Found.

I think the correct URL is: https://postgrest.org/en/v12.0/references/api.html

Besides fixing the URL, an additional HTTP server redirect from https://postgrest.org/en/v12.0/api to https://postgrest.org/en/v12.0/references/api would probably make sense.

@laurenceisla
Copy link
Member

Thanks for the report.

Besides fixing the URL, an additional HTTP server redirect from https://postgrest.org/en/v12.0/api to https://postgrest.org/en/v12.0/references/api would probably make sense.

Just added the redirect, so it should be working in the meantime. Fixing the URL is still pending.

salim-b added a commit to salim-b/postgrest that referenced this issue Jul 11, 2024
salim-b added a commit to salim-b/postgrest that referenced this issue Jul 11, 2024
wolfgangwalther pushed a commit that referenced this issue Jul 13, 2024
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
Development

Successfully merging a pull request may close this issue.

2 participants