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

66 lines
1.3 KiB
JSON

{
"info": {
"title": "Synthetic corpus 36",
"version": "1.0"
},
"openapi": "3.0.3",
"paths": {
"/items/36": {
"post": {
"operationId": "corpusOperation36",
"parameters": [
{
"in": "query",
"name": "p36",
"required": false,
"schema": {
"type": "string"
}
}
],
"requestBody": {
"content": {
"application/json": {
"schema": {
"properties": {
"name": {
"type": "string"
}
},
"type": "object"
}
}
},
"required": true
},
"responses": {
"200": {
"content": {
"application/json": {
"schema": {
"properties": {
"id": {
"type": "string"
}
},
"type": "object"
}
}
},
"description": "synthetic success"
}
},
"summary": "Synthetic operation 36",
"tags": [
"corpus"
]
}
}
},
"servers": [
{
"url": "https://api.example.test/v1"
}
]
}