Closed armanbilge closed 3 years ago
See for example https://github.com/APIs-guru/openapi-directory/blob/main/APIs/googleapis.com/bigquery/v2/openapi.yaml#L5036
There NO is supposed to be a string, but parsers read it as a boolean due to the YAML spec. In fact, there's several boolean-like strings you should be escaping: https://yaml.org/type/bool.html
NO
Thanks for an awesome resource!
No, only YAML 1.1 has this issue. All current versions of OpenAPI recommend using YAML 1.2
Apologies, I wasn't aware of that. Thanks for the response, much appreciated!
See for example https://github.com/APIs-guru/openapi-directory/blob/main/APIs/googleapis.com/bigquery/v2/openapi.yaml#L5036
There
NO
is supposed to be a string, but parsers read it as a boolean due to the YAML spec. In fact, there's several boolean-like strings you should be escaping: https://yaml.org/type/bool.htmlThanks for an awesome resource!