@rapharacing/schemas
Version:
OpenAPI to JSON Schema to be used with middy for CC response validation
16 lines • 435 B
JSON
{
"type": "object",
"properties": {
"isocode": {
"type": "string",
"description": "Country code in iso format"
},
"name": {
"type": "string",
"description": "Name of the country"
}
},
"title": "Country",
"description": "Response body fields which will be returned while fetching the list of countries. The DTO is in XML or .json format",
"$schema": "http://json-schema.org/schema#"
}