You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Nov 15, 2023. It is now read-only.
Swagger schema validation failed.
#/servers/0/variables/someParameter must NOT have unevaluated properties
The error goes away if I remove the description property.
The error message is rather arcane (what is an unevaluated property? What does it mean for a property to be "unevaluated"? What can I do to fix this?), but besides that, the error is, as far as I can tell, a false positive, because the specification for openapi 3.1.0 allows this schema and the description property.
This only occurs for 3.1.0: if I change the first line to openapi: 3.0.3 the schema validates correctly. Note that the description property is allowed on both the mentioned versions.
The text was updated successfully, but these errors were encountered:
Given the following spec:
swagger-cli reports:
The error goes away if I remove the
description
property.The error message is rather arcane (what is an unevaluated property? What does it mean for a property to be "unevaluated"? What can I do to fix this?), but besides that, the error is, as far as I can tell, a false positive, because the specification for openapi 3.1.0 allows this schema and the
description
property.This only occurs for 3.1.0: if I change the first line to
openapi: 3.0.3
the schema validates correctly. Note that thedescription
property is allowed on both the mentioned versions.The text was updated successfully, but these errors were encountered: