66 lines
1.3 KiB
JSON
66 lines
1.3 KiB
JSON
{
|
|
"info": {
|
|
"title": "Synthetic corpus 09",
|
|
"version": "1.0"
|
|
},
|
|
"openapi": "3.0.3",
|
|
"paths": {
|
|
"/items/{p09}": {
|
|
"put": {
|
|
"operationId": "corpusOperation09",
|
|
"parameters": [
|
|
{
|
|
"in": "path",
|
|
"name": "p09",
|
|
"required": true,
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
],
|
|
"requestBody": {
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"properties": {
|
|
"name": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
"type": "object"
|
|
}
|
|
}
|
|
},
|
|
"required": true
|
|
},
|
|
"responses": {
|
|
"201": {
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"properties": {
|
|
"id": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
"type": "object"
|
|
}
|
|
}
|
|
},
|
|
"description": "synthetic success"
|
|
}
|
|
},
|
|
"summary": "Synthetic operation 09",
|
|
"tags": [
|
|
"corpus"
|
|
]
|
|
}
|
|
}
|
|
},
|
|
"servers": [
|
|
{
|
|
"url": "https://api.example.test/v1"
|
|
}
|
|
]
|
|
}
|