Permalink
Fetching contributors…
Cannot retrieve contributors at this time
33 lines (32 sloc) 782 Bytes
{
"$schema": "http://json-schema.org/draft-04/schema#",
"title": "ApiModel Request",
"type": "object",
"properties": {
"restApiId": {
"type": "string",
"required": true
},
"name": {
"type": "string",
"required": true
},
"contentType": {
"type": "string",
"pattern": "^.+/.+$",
"default": "application/json"
},
"description": {
"type": "string",
"default": ""
},
"schema": {
"oneOf": [{ "type": "object" }, { "type": "string" }],
"default": {}
},
"lastModified": {
"type": "string"
}
},
"additionalProperties": false
}