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

Redirect /api schema request with JSON to /json #623

Closed
fmigneault opened this issue Apr 29, 2024 · 0 comments
Closed

Redirect /api schema request with JSON to /json #623

fmigneault opened this issue Apr 29, 2024 · 0 comments
Assignees
Labels
triage/feature New requested feature.

Comments

@fmigneault
Copy link
Collaborator

fmigneault commented Apr 29, 2024

Description

For convenience, the /api request providing f=json or Accept: application/json explicitly should automatically return the contents normally obtained on /json.

For backward compatibility, the /api endpoint should continue to return the OpenAPI HTML (swagger).

References

  • n/a
@fmigneault fmigneault added the triage/feature New requested feature. label Apr 29, 2024
@fmigneault fmigneault self-assigned this Apr 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
triage/feature New requested feature.
Projects
None yet
Development

No branches or pull requests

1 participant