{
"components": { "schemas": { "request": { "post": { "type": "object", "xml": { "name": "/" }, "properties": { "item": { "type": "object", "required": ["name"], "properties": { "$ref": "item.json#/components/schemas/request_properties" } } } }, "put": { "type": "object", "xml": { "name": "/" }, "properties": { "item": { "type": "object", "properties": { "$ref": "item.json#/components/schemas/request_properties" } } } } }, "request_properties": { "name": { "type": "string", "example": "Item Name" }, "version": { "$ref": "../../components.json#/components/common/schemas/number_or_string" }, "qty": { "$ref": "../../components.json#/components/common/schemas/number_or_string" }, "tag": { "type": "string", "example": "Item tag" } }, "response": { "type": "object", "xml": { "name": "/", "wrapped": true }, "properties": { "item": { "type": "object", "properties": { "id": { "$ref": "../../components.json#/components/response/schemas/id" }, "name": { "type": "string", "example": "Item Name" }, "version": { "type": "string", "example": "1" }, "qty": { "type": "string", "example": "1" }, "tag": { "type": "string", "example": "Item tag" } } } } } } }
}