-
Notifications
You must be signed in to change notification settings - Fork 9.1k
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
JSON Schema validator? #10
Comments
👍 for me, this would greatly simplify third parties implementations of the specification. |
I believe the goal is to be able to provide a JSON Schema as well On Mon, Mar 17, 2014 at 2:11 AM, Mac Ryan notifications@github.com wrote:
|
Great. I would skip adding validator (as piece of code) into spec, this is task for users to find some. As soon as you will have the schema ready for comments, let me know, I can propose or even do few modifications to make it more explicit. Typically reviewing all places, where "string" is required, very often it can be much more restrictive and still following what is intended to be used. |
Looks like this was fixed in 3174724 |
I took a rough first stab (definitely not complete) at creating a JSON Schema validator (like api-declaration-schema.json) for the new spec, is there any interest in having an official JSON schema, or do you want to keep swagger-spec primarily a textual reference?
https://github.com/silas/swagger-schema/tree/master/spec
The current format probably isn't acceptable for a published document.
The text was updated successfully, but these errors were encountered: