OpenAPI-Specification
OpenAPI-Specification copied to clipboard
Is this line correct? YAML LSP says the scheme is not valid because of this
https://github.com/OAI/OpenAPI-Specification/blob/aa91a19c43f8a12c02efa42d64794e396473f3b1/schemas/v3.0/schema.yaml#L211
Looks correct to me. OAS 3.0's JSON Schema is defined using Draft 4, where the exclusiveMinimum
keyword is a boolean. The exclusiveM*imum
keywords were changed from booleans to numbers in JSON Schema Draft 6.
check this out: https://github.com/redhat-developer/yaml-language-server/issues/752#issuecomment-1290669413
i would suggest to close this ticket as it's not an issue of the spec but rather the yaml-language-server. (e.g. the spectral-yaml-linter does not suffer from this problem since this pr.)
Closing as above.