Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

datetime incompatibility with JSON schema and OpenAPI specification #92

Open
nbrede opened this issue Nov 27, 2019 · 0 comments
Open

datetime incompatibility with JSON schema and OpenAPI specification #92

nbrede opened this issue Nov 27, 2019 · 0 comments

Comments

@nbrede
Copy link

nbrede commented Nov 27, 2019

Currently datetimes are supported by specifying the type as "datetime" in a schema. This seems to be incompatible with the JSON schema and OpenAPI specifications, which state it should be called "date-time". See, e.g., https://json-schema.org/understanding-json-schema/reference/string.html#dates-and-times

I created a PR to fix that issue: #91

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant