{

"get": {
  "operationId": "getPrinterById",
  "description": "Get printer",
  "tags": ["Printer"],
  "parameters": [
    { "$ref": "../../common/components.json#/components/request/parameters/token_param" },
    { "$ref": "../../common/components.json#/components/request/parameters/id_param" }
  ],
  "responses": {
    "200": {
      "description": "Object was returned correctly",
      "content": {
        "application/json": { "schema": { "$ref": "../../common/schemas/inventory/printer.json#/components/schemas/response" } },
        "application/xml": { "schema": { "$ref": "../../common/schemas/inventory/printer.json#/components/schemas/response" } }
      }
    },
    "400": { "description": "Bad request" },
    "404": { "description": "Not found" },
    "500": { "description": "Internal Server Error" }
  }
},
"put": {
  "operationId": "updatePrinterById",
  "description": "Update printer with specified fields",
  "tags": ["Printer"],
  "parameters": [
    { "$ref": "../../common/components.json#/components/request/parameters/token_param" },
    { "$ref": "../../common/components.json#/components/request/parameters/id_param" }
  ],
  "requestBody": {
    "required": true,
    "description": "Printer fields to update",
    "content": {
      "application/json": { "schema": { "$ref": "../../common/schemas/inventory/printer.json#/components/schemas/request" } },
      "application/xml": { "schema": { "$ref": "../../common/schemas/inventory/printer.json#/components/schemas/request" } }
    }
  },
  "responses": {
    "200": {
      "description": "Object was updated correctly",
      "content": {
        "application/json": { "schema": { "$ref": "../../common/schemas/inventory/printer.json#/components/schemas/response" } },
        "application/xml": { "schema": { "$ref": "../../common/schemas/inventory/printer.json#/components/schemas/response" } }
      }
    },
    "400": { "description": "Bad request" },
    "404": { "description": "Not found" },
    "500": { "description": "Internal Server Error" }
  }
}

}