-
Notifications
You must be signed in to change notification settings - Fork 56
Implement schema construction from JsonNode #98
Copy link
Copy link
Open
Description
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.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels