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

date-time format is not validated correctly #8

Open
morris opened this issue Mar 14, 2017 · 2 comments
Open

date-time format is not validated correctly #8

morris opened this issue Mar 14, 2017 · 2 comments
Labels

Comments

@morris
Copy link
Contributor

morris commented Mar 14, 2017

got-swag should validate against ISO8601 but fails with some uncommon notations like +0000 (instead of +00:00), which is valid(?) ISO8601.

@morris morris added the bug label Mar 14, 2017
@morris morris changed the title date-time format is not correctly validated date-time format is not validated correctly Mar 14, 2017
@dalbothek
Copy link

Swagger requires a specific subset of ISO8601 (https://xml2rfc.tools.ietf.org/public/rfc/html/rfc3339.html#anchor14) for which a time offset of +0000 is not valid.

@morris
Copy link
Contributor Author

morris commented Apr 3, 2017

Cool, so got-swag is only offending ISO 8601 and not Swagger. I believe this is a wont-fix then, since we're looking for 100% Swagger conformity here.

@morris morris added wontfix and removed bug labels Apr 3, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants