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

68 lines
1.3 KiB
JSON

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