Closed sdelatorrep closed 4 years ago
As these are warnings, you can safely ignore them. The reason for the warning is some differences in JSON Schema over the years and what the supported formats
are. It's not saying there's an error with your file just that it does not recognize the provided format used by the JSON Schema.
Understood. Thanks!
@webron why is validator.swagger.io returning these warnings if they should be ignored? We are automatically validating OpenAPI specification files in CI and having some warnings that should be ignored makes these checks not that easy ...
Warnings have been fixed in latest validator v2.0.5 (#181) and https://validator.swagger.io/
I got these warnings:
When validating this YAML: http://validator.swagger.io/validator/debug?url=https://raw.githubusercontent.com/ga4gh-beacon/specification-v2/master/beacon.yaml The issue seems to be in this part of the definition:
But, according to the spec (e.g. externalDocs) both URLs in
license
andexternalDocs
are valid, so I don't understand why the validator is throwing this warning and I wonder if it is an error.Thanks!