schemas.v1.1.parameterObject.json Maven / Gradle / Ivy
{
"id": "http://swagger-api.github.io/schemas/v1.1/parameterObject.json#",
"$schema": "http://json-schema.org/draft-04/schema#",
"type": "object",
"allOf": [
{
"$ref": "dataType.json#"
},
{
"required": [
"paramType",
"name"
],
"properties": {
"paramType": {
"enum": [
"path",
"query",
"body",
"header",
"form"
]
},
"name": {
"type": "string"
},
"description": {
"type": "string"
},
"required": {
"type": "boolean"
},
"allowMultiple": {
"type": "boolean"
}
}
}
]
}