Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
encoding/jsonschema: add test for date-time format
The "date-time" format is supposed to be recognized but is not. This errant behavior will be fixed in a subequent CL. This error is only recognized in strict-keyword mode, which is always enabled when jsonschema is invoked via OpenAPI, so also make sure that that mode is enabled when openAPI mode is enabled in the jsonschema tests, avoiding the need to add an extra `#strictKeywords` tag to openapi tests in encoding/jsonschema. For #3454. Signed-off-by: Roger Peppe <[email protected]> Change-Id: I429c4c013481837d4f72d94367329ce010c55604 Dispatch-Trailer: {"type":"trybot","CL":1201351,"patchset":3,"ref":"refs/changes/51/1201351/3","targetBranch":"master"}
- Loading branch information