-
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
Document difference of type attribute with jsonschema spec #397
Comments
This thing is now allowed, and JSON schema Draft 4 allows it: |
Neither OpenAPI 2.0 or 3.0.x support unmodified JSON Schema Draft 04 schema objects and they specifically do not support the type: 'string'
nullable: true |
Why do you say that it specifically doesn't support the array ? How did you get the information ?
|
If you are referring to OpenAPI 2.0 then it is a long tortuous trail, but is summed up by this comment. A published errata document would certainly help in this case. Regarding OpenAPI 3.0.x
|
This was fixed in #1977 so we can close this. |
The swagger specification in a definition doesn't allow for things like
But the specification markdown document currently says that the definition is taken from json schema.
That is incorrect.
The text was updated successfully, but these errors were encountered: