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
Would be nice if validation API is extended the way that schema can be constricted directly from JsonNode, for example, consider the following swagger snippet:
responses:
"200":
description: Successful operation
content:
application/json:
schema:
type: array
items:
$ref: "#/components/schemas/animalType"
example:
- type: human
id: 5ebc32178718
sex: male
- type: animal
id: ba5d08e1835b
kind: dog
After Swagger is parsed, there should be an API method to validate JsonNode of example against JsonNode of schema.
The text was updated successfully, but these errors were encountered:
Would be nice if validation API is extended the way that schema can be constricted directly from
JsonNode
, for example, consider the following swagger snippet:After Swagger is parsed, there should be an API method to validate
JsonNode
ofexample
againstJsonNode
ofschema
.The text was updated successfully, but these errors were encountered: