Closed gerbal closed 1 year ago
This PR serves generated json schemas with the content type header "application/schema+json" as specified by the json schema spec.
"application/schema+json"
This change also allows Firefox to pretty print the generated schema, making it more readable for us feeble humans.
Additionally, this PR adds serving the schema from /schema.json ensuring non standard http clients at least have the hinting of the file extension.
/schema.json
🚀 Thank you for your contribution! 🚀
This PR serves generated json schemas with the content type header
"application/schema+json"
as specified by the json schema spec.This change also allows Firefox to pretty print the generated schema, making it more readable for us feeble humans.
Additionally, this PR adds serving the schema from
/schema.json
ensuring non standard http clients at least have the hinting of the file extension.Contributor checklist