| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
|
Decided to make /schema basically a pointer to the latest version, which also has a public, stable URI/URL if someone wants to reference a particular version directly. Made some related improvements to the static site, as well. |
Sorry, something went wrong.
There was a problem hiding this comment.
Looks good
Sorry, something went wrong.
|
I have been testing this by way of improving Drupal's OpenAPI docs and noted errors from the Redocly CLI validator that the "dependencies" key is unknown. That's not quite correct because it's deprecated, so they're a little over-strict, but we should not ship a schema with deprecated properties. I also upped the validation level for ajv to strict and fixed a few of those nits. It would be really amazing to move this forward. I think this schema is stable, a huge improvement on what was previously on jsonapi.org and fixes public schema use at /schema. What else needs to happen to get this committed? |
Sorry, something went wrong.
There was a problem hiding this comment.
@bradjones1 this appears to be a solid start, but one that I'd like to give the community the chance to weigh in on before it is finalized. For this reason, I have left the schema a "draft" until it has been publicly reviewed and commented upon. I'll add a blurb to the front page soon.
Sorry, something went wrong.
| "$schema": "https://json-schema.org/draft/2020-12/schema", | ||
| "$id": "https://jsonapi.org/schemas/spec/v1.0/draft", | ||
| "$comment": "The $id URI should be modified before releasing. This URI does not need to be network addressable. It is an ID only.", | ||
| "$id": "https://jsonapi.org/schemas/1.0/schema.json", |
There was a problem hiding this comment.
"$id": "https://jsonapi.org/schemas/spec/v1.0/draft", "$comment": "The $id URI should be modified before releasing. This URI does not need to be network addressable. It is an ID only.",
The schema should remain a draft until it has been publicly reviewed.
Sorry, something went wrong.
|
Anyone feel like finishing this PR? <3 |
Sorry, something went wrong.
would you mind resolving the review comment please? |
Sorry, something went wrong.
| documentation. Validation will not yield false negatives, but could yield false | ||
| positives for the sake of flexibility. | ||
| Yes, you can find the response JSON Schema definition for version 1.0 at | ||
| [`https://jsonapi.org/schema`](http://jsonapi.org/schema). (An update for |
There was a problem hiding this comment.
missing an "s"?
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
Fixes #1749