Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
encoding/jsonschema: always allow x- keywords
The OpenAPI specification explicitly allows "x-"-prefixed keywords and JSON Schema allows all unknown keywords, so it seems reasonable to always allow them, as the `StrictKeywords` flag is more oriented towards finding misspelled keywords than explicitly "out-of-spec" keywords. Also, use `StrictFeatures` rather than `StrictKeywords` in the external test, because that corresponds better to the spec that the tests are written against. Signed-off-by: Roger Peppe <[email protected]> Change-Id: Iaa287b25faeb3cfc03225b06b97547a949026ba7 Dispatch-Trailer: {"type":"trybot","CL":1201112,"patchset":6,"ref":"refs/changes/12/1201112/6","targetBranch":"master"}
- Loading branch information