@rapharacing/schemas
Version:
OpenAPI to JSON Schema to be used with middy for CC response validation
16 lines • 424 B
JSON
{
"type": "object",
"properties": {
"countries": {
"type": "array",
"description": "This is the list of Country fields that should be returned in the response body",
"items": {
"$ref": "_definitions.json#/definitions/Country",
"originalRef": "Country"
}
}
},
"title": "CountryList",
"description": "List of countries",
"$schema": "http://json-schema.org/schema#"
}