Files
crank/crates/crank-import/tests/corpus/representative-17.json
T

68 lines
1.3 KiB
JSON

{
"basePath": "/v1",
"consumes": [
"application/json"
],
"host": "api.example.test",
"info": {
"title": "Synthetic corpus 17",
"version": "1.0"
},
"paths": {
"/items/{p17}": {
"patch": {
"operationId": "corpusOperation17",
"parameters": [
{
"in": "path",
"name": "p17",
"required": true,
"schema": {
"type": "string"
}
}
],
"requestBody": {
"content": {
"application/json": {
"schema": {
"properties": {
"name": {
"type": "string"
}
},
"type": "object"
}
}
},
"required": true
},
"responses": {
"201": {
"description": "synthetic success",
"schema": {
"properties": {
"id": {
"type": "string"
}
},
"type": "object"
}
}
},
"summary": "Synthetic operation 17",
"tags": [
"corpus"
]
}
}
},
"produces": [
"application/json"
],
"schemes": [
"https"
],
"swagger": "2.0"
}