{ "swagger": "2.0", "info": { "title": "Item API", "description": "Item API", "version": "1.0.0" }, "host": "item.api.local", "basePath": "/v1", "securityDefinitions": { "key": { "type": "apiKey", "name": "x-item-token", "in": "header" } }, "security": [ { "key": [] } ], "consumes": [ "application/json" ], "produces": [ "application/json" ], "schemes": [ "http" ], "parameters": { "itemParameter": { "description": "Item", "name": "bodyParam", "in": "body", "schema": { "$ref": "item4.json#/item" } } }, "paths": { "/item": { "get": { "operationId": "GetItem", "parameters": [ { "$ref": "#/parameters/itemParameter" } ], "responses": { "200": { "description": "item detail response", "schema": { "$ref": "item4.json#/item" } } } } } } }