Skip to content

RANGER-5630:Swagger UI requests non-existent swagger.json instead of generated openapi.json#998

Merged
dhavaljrajpara merged 1 commit into
apache:masterfrom
bhaveshamre:RANGER-5630
Jun 5, 2026
Merged

RANGER-5630:Swagger UI requests non-existent swagger.json instead of generated openapi.json#998
dhavaljrajpara merged 1 commit into
apache:masterfrom
bhaveshamre:RANGER-5630

Conversation

@bhaveshamre
Copy link
Copy Markdown
Contributor

What changes were proposed in this pull request?

This PR fixes the Swagger UI API documentation page failing to load due to an incorrect reference to swagger.json. The UI has been updated to load openapi.json, which is the API specification file generated and packaged by the Ranger build process.

How was this patch tested?

  • Built and deployed Ranger Admin with the proposed changes.
  • Opened /apidocs/swagger.html.
  • Verified that openapi.json is loaded successfully (HTTP 200).
  • Confirmed that the API documentation is displayed correctly without errors.

@dhavaljrajpara dhavaljrajpara merged commit 2eca8b7 into apache:master Jun 5, 2026
2 of 3 checks passed
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.

2 participants