{
  "openapi": "3.0.0",
  "info": {
    "title": "alstom-tb",
    "version": "1.7.0",
    "description": "alstom-tb",
    "contact": {
      "name": "Nicola Reggiani",
      "email": "nicola.reggiani@codelaundry.io"
    }
  },
  "paths": {
    "/cip/generate": {
      "post": {
        "x-controller-name": "GeneratorController",
        "x-operation-name": "generateCip",
        "tags": [
          "GeneratorController"
        ],
        "responses": {
          "200": {
            "description": "The file content",
            "content": {
              "application/octet-stream": {
                "schema": {
                  "type": "string",
                  "format": "binary"
                }
              }
            }
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object"
              }
            }
          }
        },
        "operationId": "GeneratorController.generateCip"
      }
    },
    "/cip/generate-mpu-exchanges": {
      "post": {
        "x-controller-name": "GeneratorController",
        "x-operation-name": "generateMpuExchanges",
        "tags": [
          "GeneratorController"
        ],
        "responses": {
          "200": {
            "description": "The file content",
            "content": {
              "application/octet-stream": {
                "schema": {
                  "type": "string",
                  "format": "binary"
                }
              }
            }
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object"
              }
            }
          }
        },
        "operationId": "GeneratorController.generateMpuExchanges"
      }
    },
    "/files": {
      "post": {
        "x-controller-name": "FileManagerController",
        "x-operation-name": "fileUpload",
        "tags": [
          "FileManagerController"
        ],
        "responses": {
          "200": {
            "description": "The file content",
            "content": {
              "application/octet-stream": {
                "schema": {
                  "type": "string",
                  "format": "binary"
                }
              }
            }
          }
        },
        "requestBody": {
          "content": {
            "multipart/form-data": {
              "x-parser": "stream",
              "schema": {
                "type": "object",
                "properties": {
                  "file": {
                    "type": "string",
                    "format": "binary"
                  }
                }
              }
            }
          },
          "description": "Request body for multipart/form-data based file upload",
          "required": true
        },
        "operationId": "FileManagerController.fileUpload"
      }
    },
    "/mvb/generate": {
      "post": {
        "x-controller-name": "GeneratorController",
        "x-operation-name": "generateMvb",
        "tags": [
          "GeneratorController"
        ],
        "responses": {
          "200": {
            "description": "The file content",
            "content": {
              "application/octet-stream": {
                "schema": {
                  "type": "string",
                  "format": "binary"
                }
              }
            }
          }
        },
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object"
              }
            }
          }
        },
        "operationId": "GeneratorController.generateMvb"
      }
    },
    "/parse/cip/addressing-plan": {
      "post": {
        "x-controller-name": "ParserController",
        "x-operation-name": "parseAddressingPlan",
        "tags": [
          "ParserController"
        ],
        "responses": {
          "200": {
            "description": "Return value of ParserController.parseAddressingPlan"
          }
        },
        "requestBody": {
          "content": {
            "multipart/form-data": {
              "x-parser": "stream",
              "schema": {
                "type": "object",
                "properties": {
                  "file": {
                    "type": "string",
                    "format": "binary"
                  }
                }
              }
            }
          },
          "description": "Request body for multipart/form-data based file upload",
          "required": true
        },
        "operationId": "ParserController.parseAddressingPlan"
      }
    },
    "/parse/cip/icd": {
      "post": {
        "x-controller-name": "ParserController",
        "x-operation-name": "parseIcd",
        "tags": [
          "ParserController"
        ],
        "responses": {
          "200": {
            "description": "Return value of ParserController.parseIcd"
          }
        },
        "requestBody": {
          "content": {
            "multipart/form-data": {
              "x-parser": "stream",
              "schema": {
                "type": "object",
                "properties": {
                  "file": {
                    "type": "string",
                    "format": "binary"
                  }
                }
              }
            }
          },
          "description": "Request body for multipart/form-data based file upload",
          "required": true
        },
        "operationId": "ParserController.parseIcd"
      }
    },
    "/parse/mvb-node-list": {
      "post": {
        "x-controller-name": "ParserController",
        "x-operation-name": "parseMvbNodeList",
        "tags": [
          "ParserController"
        ],
        "responses": {
          "200": {
            "description": "Return value of ParserController.parseMvbNodeList"
          }
        },
        "requestBody": {
          "content": {
            "multipart/form-data": {
              "x-parser": "stream",
              "schema": {
                "type": "object",
                "properties": {
                  "file": {
                    "type": "string",
                    "format": "binary"
                  }
                }
              }
            }
          },
          "description": "Request body for multipart/form-data based file upload",
          "required": true
        },
        "operationId": "ParserController.parseMvbNodeList"
      }
    },
    "/parse/mvb-ports": {
      "post": {
        "x-controller-name": "ParserController",
        "x-operation-name": "parseMvbNpa",
        "tags": [
          "ParserController"
        ],
        "responses": {
          "200": {
            "description": "Return value of ParserController.parseMvbNpa"
          }
        },
        "requestBody": {
          "content": {
            "multipart/form-data": {
              "x-parser": "stream",
              "schema": {
                "type": "object",
                "properties": {
                  "file": {
                    "type": "string",
                    "format": "binary"
                  }
                }
              }
            }
          },
          "description": "Request body for multipart/form-data based file upload",
          "required": true
        },
        "operationId": "ParserController.parseMvbNpa"
      }
    },
    "/parse/train-wires": {
      "post": {
        "x-controller-name": "ParserController",
        "x-operation-name": "parseTrainWires",
        "tags": [
          "ParserController"
        ],
        "responses": {
          "200": {
            "description": "Return value of ParserController.parseTrainWires"
          }
        },
        "requestBody": {
          "content": {
            "multipart/form-data": {
              "x-parser": "stream",
              "schema": {
                "type": "object",
                "properties": {
                  "file": {
                    "type": "string",
                    "format": "binary"
                  }
                }
              }
            }
          },
          "description": "Request body for multipart/form-data based file upload",
          "required": true
        },
        "operationId": "ParserController.parseTrainWires"
      }
    },
    "/templates/{templateId}": {
      "get": {
        "x-controller-name": "TemplatesController",
        "x-operation-name": "downloadTemplate",
        "tags": [
          "TemplatesController"
        ],
        "responses": {
          "200": {
            "description": "The file content",
            "content": {
              "application/octet-stream": {
                "schema": {
                  "type": "string",
                  "format": "binary"
                }
              }
            }
          }
        },
        "parameters": [
          {
            "name": "templateId",
            "in": "path",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "operationId": "TemplatesController.downloadTemplate"
      }
    }
  },
  "servers": [
    {
      "url": "https://relab-als-tb-api.codelaundry.dev"
    }
  ]
}