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. Signed-off-by: Roger Peppe <[email protected]> Change-Id: Iaa287b25faeb3cfc03225b06b97547a949026ba7 Reviewed-on: https://review.gerrithub.io/c/cue-lang/cue/+/1201112 TryBot-Result: CUEcueckoo <[email protected]> Reviewed-by: Daniel Martí <[email protected]> Unity-Result: CUE porcuepine <[email protected]>
- Loading branch information