Skip to content

Open OpenAPI as JSON from footer#86

Merged
letsrokk merged 1 commit into
masterfrom
agent/openapi-json-footer
Jul 20, 2026
Merged

Open OpenAPI as JSON from footer#86
letsrokk merged 1 commit into
masterfrom
agent/openapi-json-footer

Conversation

@letsrokk

Copy link
Copy Markdown
Owner

Summary

  • update the dashboard footer OpenAPI link to request ?format=json
  • add an API regression test that verifies /__fleet/api/openapi?format=json returns JSON

Impact

Clicking the footer OpenAPI link now opens the generated OpenAPI document as JSON in the browser instead of using the default YAML response that browsers may download.

Verification

  • ./mvnw -q -Dtest=OpenApiResourceTest test in fleet-api
  • npm test -- --run in fleet-dash
  • npm run build in fleet-dash

@letsrokk
letsrokk marked this pull request as ready for review July 20, 2026 11:30
@letsrokk
letsrokk merged commit b53ac47 into master Jul 20, 2026
3 checks passed
@letsrokk
letsrokk deleted the agent/openapi-json-footer branch July 20, 2026 11:30
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