{
  "openapi": "3.0.2",
  "info": {
    "title": "RakAPIt Cars API",
    "description": "Rakapit provices a sample server called by Cars APIs - which handles information about Cars. Please use it when you try out the [RakAPIt](https://rakapit.dockyard.biz/) tool. It can be used by non-RakAPIt users.\n\nEveryone can freely send and get data with these APIs. Users can see, change or delete data inserted by other users. Besides, the new data inserted by user will be deleted periodically. Please note that we are not responsible for the handling of user's data.",
    "contact": {
      "email": "rakapit@humancrest.co.jp"
    },
    "version": "1.0.0"
  },
  "servers": [
    {
      "url": "https://rakapit-cars-api.dockyard.biz/"
    }
  ],
  "tags": [
    {
      "name": "car",
      "description": "About car information"
    },
    {
      "name": "auth",
      "description": "Available Authorization"
    }
  ],
  "paths": {
    "/cars": {
      "post": {
        "summary": "Add a new car",
        "tags": [
          "car"
        ],
        "requestBody": {
          "$ref": "#/components/requestBodies/Car"
        },
        "responses": {
          "200": {
            "$ref": "#/components/responses/GetCar"
          },
          "400": {
            "$ref": "#/components/responses/BadRequest"
          },
          "500": {
            "$ref": "#/components/responses/ServerError"
          }
        }
      },
      "options": {
        "summary": "Describe the types of communication that can be used in the api",
        "tags": [
          "car"
        ],
        "responses": {
          "204": {
            "$ref": "#/components/responses/OptionsNoContent"
          },
          "500": {
            "$ref": "#/components/responses/ServerError"
          }
        }
      }
    },
    "/cars/json": {
      "parameters": [
        {
          "$ref": "#/components/parameters/Name"
        },
        {
          "$ref": "#/components/parameters/Maker"
        },
        {
          "$ref": "#/components/parameters/BodyType"
        },
        {
          "$ref": "#/components/parameters/Year"
        },
        {
          "$ref": "#/components/parameters/Color"
        },
        {
          "$ref": "#/components/parameters/Horse_power"
        },
        {
          "$ref": "#/components/parameters/Capacity"
        }
      ],
      "get": {
        "summary": "Get all cars or by some conditions",
        "tags": [
          "car"
        ],
        "responses": {
          "200": {
            "$ref": "#/components/responses/GetCarListJson"
          },
          "400": {
            "$ref": "#/components/responses/BadRequestJson"
          },
          "404": {
            "$ref": "#/components/responses/NotFoundJson"
          },
          "500": {
            "$ref": "#/components/responses/ServerError"
          }
        }
      },
      "head": {
        "summary": "Get all cars or by some conditions",
        "tags": [
          "car"
        ],
        "responses": {
          "200": {
            "$ref": "#/components/responses/HeadNoContent"
          },
          "400": {
            "$ref": "#/components/responses/BadRequestJson"
          },
          "404": {
            "$ref": "#/components/responses/NotFoundJson"
          },
          "500": {
            "$ref": "#/components/responses/ServerError"
          }
        }
      }
    },
    "/cars/xml": {
      "parameters": [
        {
          "$ref": "#/components/parameters/Name"
        },
        {
          "$ref": "#/components/parameters/Maker"
        },
        {
          "$ref": "#/components/parameters/BodyType"
        },
        {
          "$ref": "#/components/parameters/Year"
        },
        {
          "$ref": "#/components/parameters/Color"
        },
        {
          "$ref": "#/components/parameters/Horse_power"
        },
        {
          "$ref": "#/components/parameters/Capacity"
        }
      ],
      "get": {
        "summary": "Get all cars or by some conditions",
        "tags": [
          "car"
        ],
        "responses": {
          "200": {
            "$ref": "#/components/responses/GetCarListXml"
          },
          "400": {
            "$ref": "#/components/responses/BadRequestXml"
          },
          "404": {
            "$ref": "#/components/responses/NotFoundXml"
          },
          "500": {
            "$ref": "#/components/responses/ServerError"
          }
        }
      },
      "head": {
        "summary": "Get all cars or by some conditions",
        "tags": [
          "car"
        ],
        "responses": {
          "200": {
            "$ref": "#/components/responses/HeadNoContent"
          },
          "400": {
            "$ref": "#/components/responses/BadRequestXml"
          },
          "404": {
            "$ref": "#/components/responses/NotFoundXml"
          },
          "500": {
            "$ref": "#/components/responses/ServerError"
          }
        }
      }
    },
    "/cars/{id}": {
      "parameters": [
        {
          "$ref": "#/components/parameters/Id"
        }
      ],
      "put": {
        "summary": "Update car by id",
        "tags": [
          "car"
        ],
        "requestBody": {
          "$ref": "#/components/requestBodies/Car"
        },
        "responses": {
          "200": {
            "$ref": "#/components/responses/GetCar"
          },
          "400": {
            "$ref": "#/components/responses/BadRequest"
          },
          "404": {
            "$ref": "#/components/responses/NotFound"
          },
          "500": {
            "$ref": "#/components/responses/ServerError"
          }
        }
      },
      "patch": {
        "summary": "Update car by id",
        "tags": [
          "car"
        ],
        "requestBody": {
          "$ref": "#/components/requestBodies/CarPatch"
        },
        "responses": {
          "200": {
            "$ref": "#/components/responses/GetCar"
          },
          "400": {
            "$ref": "#/components/responses/BadRequest"
          },
          "404": {
            "$ref": "#/components/responses/NotFound"
          },
          "500": {
            "$ref": "#/components/responses/ServerError"
          }
        }
      },
      "delete": {
        "summary": "Delete car by id",
        "tags": [
          "car"
        ],
        "responses": {
          "200": {
            "$ref": "#/components/responses/Success"
          },
          "400": {
            "$ref": "#/components/responses/BadRequest"
          },
          "404": {
            "$ref": "#/components/responses/NotFound"
          },
          "500": {
            "$ref": "#/components/responses/ServerError"
          }
        }
      }
    },
    "/cars/{id}/json": {
      "parameters": [
        {
          "$ref": "#/components/parameters/Id"
        }
      ],
      "get": {
        "summary": "Find car by id",
        "tags": [
          "car"
        ],
        "responses": {
          "200": {
            "$ref": "#/components/responses/GetCarJson"
          },
          "400": {
            "$ref": "#/components/responses/BadRequestJson"
          },
          "404": {
            "$ref": "#/components/responses/NotFoundJson"
          },
          "500": {
            "$ref": "#/components/responses/ServerError"
          }
        }
      }
    },
    "/cars/{id}/xml": {
      "parameters": [
        {
          "$ref": "#/components/parameters/Id"
        }
      ],
      "get": {
        "summary": "Find car by id",
        "tags": [
          "car"
        ],
        "responses": {
          "200": {
            "$ref": "#/components/responses/GetCarXml"
          },
          "400": {
            "$ref": "#/components/responses/BadRequestXml"
          },
          "404": {
            "$ref": "#/components/responses/NotFoundXml"
          },
          "500": {
            "$ref": "#/components/responses/ServerError"
          }
        }
      }
    },
    "/auth/cars": {
      "post": {
        "summary": "Add a new car",
        "tags": [
          "auth"
        ],
        "security": [
          {
            "BasicAuth": []
          }
        ],
        "requestBody": {
          "$ref": "#/components/requestBodies/Car"
        },
        "responses": {
          "200": {
            "$ref": "#/components/responses/GetCar"
          },
          "400": {
            "$ref": "#/components/responses/BadRequest"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "500": {
            "$ref": "#/components/responses/ServerError"
          }
        }
      },
      "options": {
        "summary": "Describe the types of communication that can be used in the api",
        "security": [
          {
            "BasicAuth": []
          }
        ],
        "tags": [
          "auth"
        ],
        "responses": {
          "204": {
            "$ref": "#/components/responses/OptionsNoContent"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "500": {
            "$ref": "#/components/responses/ServerError"
          }
        }
      }
    },
    "/auth/cars/json": {
      "parameters": [
        {
          "$ref": "#/components/parameters/Name"
        },
        {
          "$ref": "#/components/parameters/Maker"
        },
        {
          "$ref": "#/components/parameters/BodyType"
        },
        {
          "$ref": "#/components/parameters/Year"
        },
        {
          "$ref": "#/components/parameters/Color"
        },
        {
          "$ref": "#/components/parameters/Horse_power"
        },
        {
          "$ref": "#/components/parameters/Capacity"
        }
      ],
      "get": {
        "summary": "Get all cars or by some conditions",
        "security": [
          {
            "BasicAuth": []
          }
        ],
        "tags": [
          "auth"
        ],
        "responses": {
          "200": {
            "$ref": "#/components/responses/GetCarListJson"
          },
          "400": {
            "$ref": "#/components/responses/BadRequestJson"
          },
          "401": {
            "$ref": "#/components/responses/UnauthorizedJson"
          },
          "404": {
            "$ref": "#/components/responses/NotFoundJson"
          },
          "500": {
            "$ref": "#/components/responses/ServerError"
          }
        }
      },
      "head": {
        "summary": "Get all cars or by some conditions",
        "tags": [
          "auth"
        ],
        "security": [
          {
            "BasicAuth": []
          }
        ],
        "responses": {
          "200": {
            "$ref": "#/components/responses/HeadNoContent"
          },
          "400": {
            "$ref": "#/components/responses/BadRequestJson"
          },
          "401": {
            "$ref": "#/components/responses/UnauthorizedJson"
          },
          "404": {
            "$ref": "#/components/responses/NotFoundJson"
          },
          "500": {
            "$ref": "#/components/responses/ServerError"
          }
        }
      }
    },
    "/auth/cars/xml": {
      "parameters": [
        {
          "$ref": "#/components/parameters/Name"
        },
        {
          "$ref": "#/components/parameters/Maker"
        },
        {
          "$ref": "#/components/parameters/BodyType"
        },
        {
          "$ref": "#/components/parameters/Year"
        },
        {
          "$ref": "#/components/parameters/Color"
        },
        {
          "$ref": "#/components/parameters/Horse_power"
        },
        {
          "$ref": "#/components/parameters/Capacity"
        }
      ],
      "get": {
        "summary": "Get all cars or by some conditions",
        "tags": [
          "auth"
        ],
        "security": [
          {
            "BasicAuth": []
          }
        ],
        "responses": {
          "200": {
            "$ref": "#/components/responses/GetCarListXml"
          },
          "400": {
            "$ref": "#/components/responses/BadRequestXml"
          },
          "401": {
            "$ref": "#/components/responses/UnauthorizedXml"
          },
          "404": {
            "$ref": "#/components/responses/NotFoundXml"
          },
          "500": {
            "$ref": "#/components/responses/ServerError"
          }
        }
      },
      "head": {
        "summary": "Get all cars or by some conditions",
        "tags": [
          "auth"
        ],
        "security": [
          {
            "BasicAuth": []
          }
        ],
        "responses": {
          "200": {
            "$ref": "#/components/responses/HeadNoContent"
          },
          "400": {
            "$ref": "#/components/responses/BadRequestXml"
          },
          "401": {
            "$ref": "#/components/responses/UnauthorizedXml"
          },
          "404": {
            "$ref": "#/components/responses/NotFoundXml"
          },
          "500": {
            "$ref": "#/components/responses/ServerError"
          }
        }
      }
    },
    "/auth/cars/{id}": {
      "parameters": [
        {
          "$ref": "#/components/parameters/Id"
        }
      ],
      "put": {
        "summary": "Update car by id",
        "tags": [
          "auth"
        ],
        "security": [
          {
            "BasicAuth": []
          }
        ],
        "requestBody": {
          "$ref": "#/components/requestBodies/Car"
        },
        "responses": {
          "200": {
            "$ref": "#/components/responses/GetCar"
          },
          "400": {
            "$ref": "#/components/responses/BadRequest"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "404": {
            "$ref": "#/components/responses/NotFound"
          },
          "500": {
            "$ref": "#/components/responses/ServerError"
          }
        }
      },
      "patch": {
        "summary": "Update car by id",
        "tags": [
          "auth"
        ],
        "security": [
          {
            "BasicAuth": []
          }
        ],
        "requestBody": {
          "$ref": "#/components/requestBodies/CarPatch"
        },
        "responses": {
          "200": {
            "$ref": "#/components/responses/GetCar"
          },
          "400": {
            "$ref": "#/components/responses/BadRequest"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "404": {
            "$ref": "#/components/responses/NotFound"
          },
          "500": {
            "$ref": "#/components/responses/ServerError"
          }
        }
      },
      "delete": {
        "summary": "Delete car by id",
        "tags": [
          "auth"
        ],
        "security": [
          {
            "BasicAuth": []
          }
        ],
        "responses": {
          "200": {
            "$ref": "#/components/responses/Success"
          },
          "400": {
            "$ref": "#/components/responses/BadRequest"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "404": {
            "$ref": "#/components/responses/NotFound"
          },
          "500": {
            "$ref": "#/components/responses/ServerError"
          }
        }
      }
    },
    "/auth/cars/{id}/json": {
      "parameters": [
        {
          "$ref": "#/components/parameters/Id"
        }
      ],
      "get": {
        "summary": "Find car by id",
        "tags": [
          "auth"
        ],
        "security": [
          {
            "BasicAuth": []
          }
        ],
        "responses": {
          "200": {
            "$ref": "#/components/responses/GetCarJson"
          },
          "400": {
            "$ref": "#/components/responses/BadRequestJson"
          },
          "401": {
            "$ref": "#/components/responses/UnauthorizedJson"
          },
          "404": {
            "$ref": "#/components/responses/NotFoundJson"
          },
          "500": {
            "$ref": "#/components/responses/ServerError"
          }
        }
      }
    },
    "/auth/cars/{id}/xml": {
      "parameters": [
        {
          "$ref": "#/components/parameters/Id"
        }
      ],
      "get": {
        "summary": "Find car by id",
        "tags": [
          "auth"
        ],
        "security": [
          {
            "BasicAuth": []
          }
        ],
        "responses": {
          "200": {
            "$ref": "#/components/responses/GetCarXml"
          },
          "400": {
            "$ref": "#/components/responses/BadRequestXml"
          },
          "401": {
            "$ref": "#/components/responses/UnauthorizedXml"
          },
          "404": {
            "$ref": "#/components/responses/NotFoundXml"
          },
          "500": {
            "$ref": "#/components/responses/ServerError"
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "Car": {
        "type": "object",
        "required": [
          "name"
        ],
        "minProperties": 1,
        "maxProperties": 9,
        "xml": {
          "name": "root"
        },
        "properties": {
          "id": {
            "$ref": "#/components/schemas/Id"
          },
          "name": {
            "$ref": "#/components/schemas/Name"
          },
          "body_type": {
            "$ref": "#/components/schemas/BodyType"
          },
          "maker": {
            "$ref": "#/components/schemas/Maker"
          },
          "year": {
            "$ref": "#/components/schemas/Year"
          },
          "color": {
            "$ref": "#/components/schemas/Color"
          },
          "horse_power": {
            "$ref": "#/components/schemas/HorsePower"
          },
          "capacity": {
            "$ref": "#/components/schemas/Capacity"
          },
          "spec": {
            "$ref": "#/components/schemas/Spec"
          }
        }
      },
      "CarPatch": {
        "type": "object",
        "minProperties": 1,
        "maxProperties": 9,
        "xml": {
          "name": "root"
        },
        "properties": {
          "id": {
            "$ref": "#/components/schemas/Id"
          },
          "name": {
            "$ref": "#/components/schemas/Name"
          },
          "body_type": {
            "$ref": "#/components/schemas/BodyType"
          },
          "maker": {
            "$ref": "#/components/schemas/Maker"
          },
          "year": {
            "$ref": "#/components/schemas/Year"
          },
          "color": {
            "$ref": "#/components/schemas/Color"
          },
          "horse_power": {
            "$ref": "#/components/schemas/HorsePower"
          },
          "capacity": {
            "$ref": "#/components/schemas/Capacity"
          },
          "spec": {
            "$ref": "#/components/schemas/Spec"
          }
        }
      },
      "CarList": {
        "type": "array",
        "xml": {
          "name": "root"
        },
        "items": {
          "$ref": "#/components/schemas/Car"
        }
      },
      "Spec": {
        "type": "object",
        "minProperties": 0,
        "maxProperties": 2,
        "properties": {
          "dimensions": {
            "$ref": "#/components/schemas/Dimentions"
          },
          "engine": {
            "$ref": "#/components/schemas/Engine"
          }
        }
      },
      "Dimentions": {
        "type": "object",
        "minProperties": 0,
        "maxProperties": 4,
        "properties": {
          "height": {
            "$ref": "#/components/schemas/Height"
          },
          "width": {
            "$ref": "#/components/schemas/Width"
          },
          "length": {
            "$ref": "#/components/schemas/Length"
          },
          "weight": {
            "$ref": "#/components/schemas/Weight"
          }
        }
      },
      "Engine": {
        "type": "object",
        "minProperties": 0,
        "maxProperties": 2,
        "properties": {
          "position": {
            "$ref": "#/components/schemas/Position"
          },
          "type": {
            "$ref": "#/components/schemas/Type"
          }
        }
      },
      "Id": {
        "type": "integer",
        "minimum": 0,
        "readOnly": true,
        "example": 100
      },
      "Name": {
        "description": "Car name",
        "type": "string",
        "minLength": 1,
        "maxLength": 100,
        "example": "vinfast vf e34"
      },
      "Maker": {
        "description": "Manufacturer name",
        "type": "string",
        "minLength": 1,
        "maxLength": 100,
        "example": "vinfast"
      },
      "BodyType": {
        "description": "Cars",
        "type": "string",
        "minLength": 1,
        "maxLength": 100,
        "example": "sedan"
      },
      "Year": {
        "description": "Year of manufacture",
        "type": "integer",
        "minimum": 0,
        "maximum": 9999,
        "example": 2021
      },
      "Height": {
        "description": "Unit is mm",
        "type": "number",
        "minimum": 0,
        "maximum": 100000,
        "example": 20000
      },
      "Width": {
        "description": "Unit is mm",
        "type": "number",
        "minimum": 0,
        "maximum": 100000,
        "example": 1700
      },
      "Length": {
        "description": "Unit is mm",
        "type": "number",
        "minimum": 0,
        "maximum": 100000,
        "example": 4800
      },
      "Weight": {
        "description": "Unit is kg",
        "type": "number",
        "minimum": 0,
        "maximum": 100000,
        "example": 10000
      },
      "Position": {
        "description": "Car engine position",
        "type": "string",
        "minLength": 0,
        "maxLength": 50,
        "example": "Front"
      },
      "Type": {
        "description": "Types of car engines",
        "type": "string",
        "minLength": 0,
        "maxLength": 50,
        "example": "gasoline"
      },
      "Color": {
        "description": "Car color",
        "type": "string",
        "minLength": 1,
        "maxLength": 100,
        "example": "blue"
      },
      "HorsePower": {
        "description": "Car horsePower",
        "type": "number",
        "minimum": 0,
        "maximum": 10000,
        "example": 110
      },
      "Capacity": {
        "description": "Car capacity",
        "type": "integer",
        "minimum": 0,
        "maximum": 100,
        "example": 5
      },
      "SuccessStatus": {
        "type": "boolean",
        "example": true
      },
      "FailedStatus": {
        "type": "boolean",
        "example": false
      },
      "SuccessMessage": {
        "type": "string",
        "example": "Delete car successfully!"
      },
      "FailedMessage": {
        "type": "string",
        "example": "Bad request!"
      },
      "SuccessResponse": {
        "type": "object",
        "xml": {
          "name": "root"
        },
        "required": [
          "message",
          "status"
        ],
        "properties": {
          "status": {
            "$ref": "#/components/schemas/SuccessStatus"
          },
          "message": {
            "$ref": "#/components/schemas/SuccessMessage"
          }
        }
      },
      "FailedResponse": {
        "type": "object",
        "xml": {
          "name": "root"
        },
        "required": [
          "message",
          "status"
        ],
        "properties": {
          "status": {
            "$ref": "#/components/schemas/FailedStatus"
          },
          "message": {
            "$ref": "#/components/schemas/FailedMessage"
          }
        }
      },
      "Success": {
        "$ref": "#/components/schemas/SuccessResponse"
      },
      "BadRequest": {
        "$ref": "#/components/schemas/FailedResponse"
      },
      "Unauthorized": {
        "$ref": "#/components/schemas/FailedResponse"
      },
      "NotFound": {
        "$ref": "#/components/schemas/FailedResponse"
      },
      "ServerError": {
        "$ref": "#/components/schemas/FailedResponse"
      }
    },
    "parameters": {
      "Id": {
        "name": "id",
        "in": "path",
        "required": true,
        "schema": {
          "$ref": "#/components/schemas/Id"
        }
      },
      "Name": {
        "name": "name",
        "in": "query",
        "description": "car name",
        "schema": {
          "$ref": "#/components/schemas/Name"
        }
      },
      "Maker": {
        "name": "maker",
        "in": "query",
        "description": "Manufacturer name",
        "schema": {
          "$ref": "#/components/schemas/Maker"
        }
      },
      "BodyType": {
        "name": "body_type",
        "in": "query",
        "description": "Cars",
        "schema": {
          "$ref": "#/components/schemas/BodyType"
        }
      },
      "Year": {
        "name": "year",
        "in": "query",
        "description": "year of manufacture",
        "schema": {
          "$ref": "#/components/schemas/Year"
        }
      },
      "Height": {
        "name": "dimensions_height",
        "in": "query",
        "description": "unit is mm",
        "schema": {
          "$ref": "#/components/schemas/Height"
        }
      },
      "Width": {
        "name": "width",
        "in": "query",
        "description": "unit is mm",
        "schema": {
          "$ref": "#/components/schemas/Width"
        }
      },
      "Length": {
        "name": "dimensions_length",
        "in": "query",
        "description": "unit is mm",
        "schema": {
          "$ref": "#/components/schemas/Length"
        }
      },
      "Weight": {
        "name": "dimensions_weight",
        "in": "query",
        "description": "unit is kg",
        "schema": {
          "$ref": "#/components/schemas/Weight"
        }
      },
      "Position": {
        "name": "engine_position",
        "in": "query",
        "description": "position of engine",
        "schema": {
          "$ref": "#/components/schemas/Position"
        }
      },
      "Type": {
        "name": "engine_type",
        "in": "query",
        "description": "type of engine(ex:before/after)",
        "schema": {
          "$ref": "#/components/schemas/Type"
        }
      },
      "Color": {
        "name": "color",
        "in": "query",
        "description": "Car color",
        "schema": {
          "$ref": "#/components/schemas/Color"
        }
      },
      "Horse_power": {
        "name": "horse_power",
        "in": "query",
        "description": "Car horsePower",
        "schema": {
          "$ref": "#/components/schemas/HorsePower"
        }
      },
      "Capacity": {
        "name": "capacity",
        "in": "query",
        "description": "Car capacity",
        "schema": {
          "$ref": "#/components/schemas/Capacity"
        }
      }
    },
    "requestBodies": {
      "Car": {
        "required": true,
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/Car"
            }
          },
          "application/xml": {
            "schema": {
              "$ref": "#/components/schemas/Car"
            }
          }
        }
      },
      "CarPatch": {
        "required": true,
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/CarPatch"
            }
          },
          "application/xml": {
            "schema": {
              "$ref": "#/components/schemas/CarPatch"
            }
          }
        }
      }
    },
    "responses": {
      "Success": {
        "description": "Successful operation",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/Success"
            }
          },
          "application/xml": {
            "schema": {
              "$ref": "#/components/schemas/Success"
            }
          }
        }
      },
      "GetCar": {
        "description": "Successful operation",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/Car"
            }
          },
          "application/xml": {
            "schema": {
              "$ref": "#/components/schemas/Car"
            }
          }
        }
      },
      "GetCarJson": {
        "description": "Successful operation",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/Car"
            }
          }
        }
      },
      "GetCarXml": {
        "description": "Successful operation",
        "content": {
          "application/xml": {
            "schema": {
              "$ref": "#/components/schemas/Car"
            }
          }
        }
      },
      "GetCarList": {
        "description": "Successful operation",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/CarList"
            }
          },
          "application/xml": {
            "schema": {
              "$ref": "#/components/schemas/CarList"
            }
          }
        }
      },
      "GetCarListJson": {
        "description": "success",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/CarList"
            }
          }
        }
      },
      "GetCarListXml": {
        "description": "Successful operation",
        "content": {
          "application/xml": {
            "schema": {
              "$ref": "#/components/schemas/CarList"
            }
          }
        }
      },
      "HeadNoContent": {
        "description": "Not content",
        "headers": {
          "Content-Length": {
            "schema": {
              "type": "integer"
            }
          }
        },
        "content": {}
      },
      "OptionsNoContent": {
        "description": "Not content",
        "headers": {
          "Access-Control-Allow-Origin": {
            "schema": {
              "type": "string"
            }
          },
          "Access-Control-Allow-Methods": {
            "schema": {
              "type": "string"
            }
          },
          "Access-Control-Allow-Headers": {
            "schema": {
              "type": "string"
            }
          },
          "Access-Control-Allow-Credentials": {
            "schema": {
              "type": "string"
            }
          }
        },
        "content": {}
      },
      "BadRequest": {
        "description": "Bad request",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/BadRequest"
            }
          },
          "application/xml": {
            "schema": {
              "$ref": "#/components/schemas/BadRequest"
            }
          }
        }
      },
      "BadRequestJson": {
        "description": "Bad request",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/BadRequest"
            }
          }
        }
      },
      "BadRequestXml": {
        "description": "Bad request",
        "content": {
          "application/xml": {
            "schema": {
              "$ref": "#/components/schemas/BadRequest"
            }
          }
        }
      },
      "Unauthorized": {
        "description": "Authentication information is missing or invalid",
        "headers": {
          "WWW-Authenticate": {
            "schema": {
              "type": "string"
            }
          }
        },
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/Unauthorized"
            }
          },
          "application/xml": {
            "schema": {
              "$ref": "#/components/schemas/Unauthorized"
            }
          }
        }
      },
      "UnauthorizedJson": {
        "description": "Authentication information is missing or invalid",
        "headers": {
          "WWW-Authenticate": {
            "schema": {
              "type": "string"
            }
          }
        },
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/Unauthorized"
            }
          }
        }
      },
      "UnauthorizedXml": {
        "description": "Authentication information is missing or invalid",
        "headers": {
          "WWW-Authenticate": {
            "schema": {
              "type": "string"
            }
          }
        },
        "content": {
          "application/xml": {
            "schema": {
              "$ref": "#/components/schemas/Unauthorized"
            }
          }
        }
      },
      "NotFound": {
        "description": "Not found",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/NotFound"
            }
          },
          "application/xml": {
            "schema": {
              "$ref": "#/components/schemas/NotFound"
            }
          }
        }
      },
      "NotFoundJson": {
        "description": "Not found",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/NotFound"
            }
          }
        }
      },
      "NotFoundXml": {
        "description": "Not found",
        "content": {
          "application/xml": {
            "schema": {
              "$ref": "#/components/schemas/NotFound"
            }
          }
        }
      },
      "ServerError": {
        "description": "Server error",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/ServerError"
            }
          },
          "application/xml": {
            "schema": {
              "$ref": "#/components/schemas/ServerError"
            }
          }
        }
      }
    },
    "securitySchemes": {
      "BasicAuth": {
        "type": "http",
        "scheme": "basic",
        "description": "The Basic Id and Basic Password are as follows.\n* Username: username\n* Password: password\n\nData created from an API with basic authentication can be referenced, changed, and deleted from an API without basic authentication."
      }
    }
  }
}