Skip to content

Move API documentation under v1 - #27

Merged
Daniel-VM merged 4 commits into
BIPLAT-CIBERINFEC:developfrom
Daniel-VM:v1-docs-routes
Aug 11, 2026
Merged

Move API documentation under v1#27
Daniel-VM merged 4 commits into
BIPLAT-CIBERINFEC:developfrom
Daniel-VM:v1-docs-routes

Conversation

@Daniel-VM

@Daniel-VM Daniel-VM commented Aug 11, 2026

Copy link
Copy Markdown
Member

Summary

  • Move the canonical documentation URLs to /v1/openapi/, /v1/swagger/, and /v1/swagger/redoc/.
  • Keep redirects from /openapi/, /swagger/, and /swagger/redoc/ for compatibility.
  • Redirect browser access without Authorization to Django admin login, matching the MePRAM OMOP API behavior.
  • Preserve API documentation access with Authorization, including valid Keycloak Bearer tokens and Django admin Basic Auth.
  • Update README, settings, and tests for the v1 documentation routes and hybrid documentation authentication flow.

Why

Align pathocore-api auth/access to mepram-omop-api

@Daniel-VM
Daniel-VM marked this pull request as ready for review August 11, 2026 10:29
@Daniel-VM
Daniel-VM merged commit d3b0b4b into BIPLAT-CIBERINFEC:develop Aug 11, 2026
2 checks passed
@Daniel-VM
Daniel-VM deleted the v1-docs-routes branch August 11, 2026 10:31
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.

1 participant