{
  "openapi": "3.0.0",
  "info": {
    "version": "0.0.11",
    "title": "@sizium/api",
    "description": "REST API for Sizium. Get the actual size of any local or remote package",
    "contact": {
      "url": "https://docs.sizium.pigeonposse.com/guide/api"
    }
  },
  "components": {
    "schemas": {},
    "parameters": {}
  },
  "paths": {
    "/size": {
      "get": {
        "summary": "Get Package size data",
        "tags": [
          "size"
        ],
        "parameters": [
          {
            "schema": {
              "type": "string",
              "description": "Set the input"
            },
            "required": true,
            "description": "Set the input",
            "name": "input",
            "in": "query"
          }
        ],
        "responses": {
          "200": {
            "description": "Successfully fetched data",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {}
                }
              }
            }
          },
          "400": {
            "description": "Bad request",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "status": {
                      "type": "number",
                      "enum": [
                        400
                      ]
                    },
                    "id": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    },
                    "error": {
                      "type": "object",
                      "properties": {}
                    },
                    "help": {
                      "type": "string"
                    }
                  },
                  "required": [
                    "status",
                    "id",
                    "message",
                    "error",
                    "help"
                  ]
                }
              }
            }
          },
          "500": {
            "description": "Internal Server error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "status": {
                      "type": "number",
                      "enum": [
                        500
                      ]
                    },
                    "id": {
                      "type": "string"
                    },
                    "message": {
                      "type": "string"
                    },
                    "error": {
                      "type": "object",
                      "properties": {}
                    },
                    "help": {
                      "type": "string"
                    }
                  },
                  "required": [
                    "status",
                    "id",
                    "message",
                    "error",
                    "help"
                  ]
                }
              }
            }
          }
        }
      }
    }
  }
}