{
  "openapi": "3.0.0",
  "info": {
    "title": "Fusio",
    "version": "1"
  },
  "servers": [
    {
      "url": "http:\/\/127.0.0.1\/"
    }
  ],
  "paths": {
    "\/system\/connection\/{name}\/callback": {
      "get": {
        "operationId": "System_Action_ConnectionCallback",
        "responses": {
          "200": {
            "description": "GET 200 Response",
            "content": {
              "application\/json": {
                "schema": {
                  "$ref": "#\/components\/schemas\/Message"
                }
              }
            }
          }
        }
      },
      "parameters": [
        {
          "name": "name",
          "in": "path",
          "required": false,
          "schema": {
            "type": "string"
          }
        }
      ]
    },
    "\/system\/schema\/{name}": {
      "get": {
        "operationId": "System_Action_GetSchema",
        "responses": {
          "200": {
            "description": "GET 200 Response",
            "content": {
              "application\/json": {
                "schema": {
                  "$ref": "#\/components\/schemas\/System_Schema"
                }
              }
            }
          }
        }
      },
      "parameters": [
        {
          "name": "name",
          "in": "path",
          "required": false,
          "schema": {
            "type": "string"
          }
        }
      ]
    },
    "\/system\/debug": {
      "get": {
        "operationId": "System_Action_GetDebug",
        "responses": {
          "200": {
            "description": "GET 200 Response",
            "content": {
              "application\/json": {
                "schema": {
                  "$ref": "#\/components\/schemas\/System_Debug"
                }
              }
            }
          }
        }
      },
      "put": {
        "operationId": "System_Action_GetDebug",
        "requestBody": {
          "description": "PUT Request",
          "content": {
            "application\/json": {
              "schema": {
                "$ref": "#\/components\/schemas\/Passthru"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "PUT 200 Response",
            "content": {
              "application\/json": {
                "schema": {
                  "$ref": "#\/components\/schemas\/System_Debug"
                }
              }
            }
          }
        }
      },
      "post": {
        "operationId": "System_Action_GetDebug",
        "requestBody": {
          "description": "POST Request",
          "content": {
            "application\/json": {
              "schema": {
                "$ref": "#\/components\/schemas\/Passthru"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "POST 200 Response",
            "content": {
              "application\/json": {
                "schema": {
                  "$ref": "#\/components\/schemas\/System_Debug"
                }
              }
            }
          }
        }
      },
      "delete": {
        "operationId": "System_Action_GetDebug",
        "responses": {
          "200": {
            "description": "DELETE 200 Response",
            "content": {
              "application\/json": {
                "schema": {
                  "$ref": "#\/components\/schemas\/System_Debug"
                }
              }
            }
          }
        }
      },
      "patch": {
        "operationId": "System_Action_GetDebug",
        "requestBody": {
          "description": "PATCH Request",
          "content": {
            "application\/json": {
              "schema": {
                "$ref": "#\/components\/schemas\/Passthru"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "PATCH 200 Response",
            "content": {
              "application\/json": {
                "schema": {
                  "$ref": "#\/components\/schemas\/System_Debug"
                }
              }
            }
          }
        }
      }
    },
    "\/system\/health": {
      "get": {
        "operationId": "System_Action_GetHealth",
        "responses": {
          "200": {
            "description": "GET 200 Response",
            "content": {
              "application\/json": {
                "schema": {
                  "$ref": "#\/components\/schemas\/System_Health_Check"
                }
              }
            }
          }
        }
      }
    },
    "\/system\/route": {
      "get": {
        "operationId": "System_Action_GetAllRoute",
        "responses": {
          "200": {
            "description": "GET 200 Response",
            "content": {
              "application\/json": {
                "schema": {
                  "$ref": "#\/components\/schemas\/System_Route"
                }
              }
            }
          }
        }
      }
    },
    "\/system\/about": {
      "get": {
        "operationId": "System_Action_GetAbout",
        "responses": {
          "200": {
            "description": "GET 200 Response",
            "content": {
              "application\/json": {
                "schema": {
                  "$ref": "#\/components\/schemas\/System_About"
                }
              }
            }
          }
        }
      }
    },
    "\/system\/export\/{type}\/{version}\/{path}": {
      "get": {
        "operationId": "PSX_Framework_Controller_Generator_GeneratorController_doGet",
        "responses": {}
      }
    },
    "\/system\/payment\/{provider}\/webhook": {},
    "\/system\/doc": {
      "get": {
        "operationId": "PSX_Framework_Controller_Tool_Documentation_IndexController_doGet",
        "responses": {
          "200": {
            "description": "GET 200 Response",
            "content": {
              "application\/json": {
                "schema": {
                  "$ref": "#\/components\/schemas\/PSX_Framework_Controller_Tool_Documentation_IndexController_doGet_GET_200_Response"
                }
              }
            }
          }
        }
      }
    },
    "\/system\/doc\/{version}\/{path}": {
      "get": {
        "operationId": "PSX_Framework_Controller_Tool_Documentation_DetailController_doGet",
        "responses": {
          "200": {
            "description": "GET 200 Response",
            "content": {
              "application\/json": {
                "schema": {
                  "$ref": "#\/components\/schemas\/PSX_Framework_Controller_Tool_Documentation_DetailController_doGet_GET_200_Response"
                }
              }
            }
          }
        }
      },
      "parameters": [
        {
          "name": "version",
          "in": "path",
          "required": false,
          "schema": {
            "type": "string"
          }
        },
        {
          "name": "path",
          "in": "path",
          "required": false,
          "schema": {
            "type": "string"
          }
        }
      ]
    },
    "\/system\/jsonrpc": {
      "post": {
        "description": "JSON-RPC Endpoint please take a look at https:\/\/www.jsonrpc.org\/specification",
        "operationId": "Fusio_Impl_System_Api_JsonRpc_doPost",
        "requestBody": {
          "description": "POST Request",
          "content": {
            "application\/json": {
              "schema": {
                "$ref": "#\/components\/schemas\/Fusio_Impl_System_Api_JsonRpc_doPost_POST_Request"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "POST 200 Response",
            "content": {
              "application\/json": {
                "schema": {
                  "$ref": "#\/components\/schemas\/Fusio_Impl_System_Api_JsonRpc_doPost_POST_200_Response"
                }
              }
            }
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "About": {
        "type": "object",
        "properties": {
          "apiVersion": {
            "type": "string"
          },
          "title": {
            "type": "string"
          },
          "description": {
            "type": "string"
          },
          "termsOfService": {
            "type": "string"
          },
          "contactName": {
            "type": "string"
          },
          "contactUrl": {
            "type": "string"
          },
          "contactEmail": {
            "type": "string"
          },
          "licenseName": {
            "type": "string"
          },
          "licenseUrl": {
            "type": "string"
          },
          "categories": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "scopes": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "apps": {
            "$ref": "#\/components\/schemas\/About_Apps"
          },
          "links": {
            "type": "array",
            "items": {
              "$ref": "#\/components\/schemas\/About_Link"
            }
          }
        }
      },
      "About_Apps": {
        "type": "object",
        "additionalProperties": {
          "type": "string"
        }
      },
      "About_Link": {
        "type": "object",
        "properties": {
          "rel": {
            "type": "string"
          },
          "href": {
            "type": "string"
          }
        }
      },
      "Debug": {
        "type": "object",
        "properties": {
          "headers": {
            "$ref": "#\/components\/schemas\/Debug_Headers"
          },
          "parameters": {
            "$ref": "#\/components\/schemas\/Debug_Parameters"
          },
          "body": {
            "$ref": "#\/components\/schemas\/Debug_Body"
          }
        }
      },
      "Debug_Body": {
        "type": "object",
        "additionalProperties": []
      },
      "Debug_Headers": {
        "type": "object",
        "additionalProperties": []
      },
      "Debug_Parameters": {
        "type": "object",
        "additionalProperties": []
      },
      "Discovery_Link": {
        "type": "object",
        "properties": {
          "rel": {
            "type": "string"
          },
          "href": {
            "type": "string"
          }
        }
      },
      "Documentation_Detail": {
        "type": "object",
        "properties": {
          "path": {
            "type": "string"
          },
          "version": {
            "type": "string"
          },
          "status": {
            "type": "integer"
          },
          "description": {
            "type": "string"
          },
          "schema": {
            "$ref": "#\/components\/schemas\/Documentation_Schema"
          },
          "pathParameters": {
            "type": "string"
          },
          "methods": {
            "$ref": "#\/components\/schemas\/Documentation_Methods"
          },
          "links": {
            "type": "array",
            "items": {
              "$ref": "#\/components\/schemas\/Discovery_Link"
            }
          }
        }
      },
      "Documentation_Index": {
        "type": "object",
        "properties": {
          "routings": {
            "type": "array",
            "items": {
              "$ref": "#\/components\/schemas\/Documentation_Route"
            }
          },
          "links": {
            "type": "array",
            "items": {
              "$ref": "#\/components\/schemas\/Discovery_Link"
            }
          }
        }
      },
      "Documentation_Method": {
        "type": "object",
        "properties": {
          "description": {
            "type": "string"
          },
          "queryParameters": {
            "type": "string"
          },
          "request": {
            "type": "string"
          },
          "responses": {
            "$ref": "#\/components\/schemas\/Documentation_Method_Responses"
          }
        }
      },
      "Documentation_Method_Responses": {
        "type": "object",
        "additionalProperties": {
          "type": "string"
        }
      },
      "Documentation_Methods": {
        "type": "object",
        "additionalProperties": {
          "$ref": "#\/components\/schemas\/Documentation_Method"
        }
      },
      "Documentation_Route": {
        "type": "object",
        "properties": {
          "path": {
            "type": "string"
          },
          "methods": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "version": {
            "type": "string"
          }
        }
      },
      "Documentation_Schema": {
        "type": "object",
        "additionalProperties": true
      },
      "Fusio_Impl_System_Api_JsonRpc_doPost_POST_200_Response": {
        "$ref": "#\/components\/schemas\/Rpc_Response_Success"
      },
      "Fusio_Impl_System_Api_JsonRpc_doPost_POST_Request": {
        "$ref": "#\/components\/schemas\/Passthru"
      },
      "Health_Check": {
        "type": "object",
        "properties": {
          "healthy": {
            "type": "boolean"
          },
          "error": {
            "type": "string"
          }
        }
      },
      "Message": {
        "type": "object",
        "properties": {
          "success": {
            "type": "boolean"
          },
          "message": {
            "type": "string"
          }
        }
      },
      "PSX_Framework_Controller_Tool_Documentation_DetailController_doGet_GET_200_Response": {
        "$ref": "#\/components\/schemas\/Documentation_Detail"
      },
      "PSX_Framework_Controller_Tool_Documentation_IndexController_doGet_GET_200_Response": {
        "$ref": "#\/components\/schemas\/Documentation_Index"
      },
      "Passthru": {
        "description": "No schema information available",
        "type": "object"
      },
      "Route": {
        "type": "object",
        "properties": {
          "routes": {
            "$ref": "#\/components\/schemas\/Route_Path"
          }
        }
      },
      "Route_Method": {
        "type": "object",
        "additionalProperties": {
          "type": "string"
        }
      },
      "Route_Path": {
        "type": "object",
        "additionalProperties": {
          "$ref": "#\/components\/schemas\/Route_Method"
        }
      },
      "Rpc_Response_Result": {
        "type": "object",
        "additionalProperties": []
      },
      "Rpc_Response_Success": {
        "type": "object",
        "properties": {
          "jsonrpc": {
            "type": "string"
          },
          "result": {
            "$ref": "#\/components\/schemas\/Rpc_Response_Result"
          },
          "id": {
            "type": "integer"
          }
        }
      },
      "Schema": {
        "type": "object",
        "properties": {
          "schema": {
            "$ref": "#\/components\/schemas\/Schema_TypeSchema"
          },
          "form": {
            "$ref": "#\/components\/schemas\/Schema_Form"
          }
        }
      },
      "Schema_Form": {
        "type": "object",
        "additionalProperties": []
      },
      "Schema_TypeSchema": {
        "type": "object",
        "additionalProperties": []
      },
      "System_About": {
        "$ref": "#\/components\/schemas\/About"
      },
      "System_Debug": {
        "$ref": "#\/components\/schemas\/Debug"
      },
      "System_Health_Check": {
        "$ref": "#\/components\/schemas\/Health_Check"
      },
      "System_Route": {
        "$ref": "#\/components\/schemas\/Route"
      },
      "System_Schema": {
        "$ref": "#\/components\/schemas\/Schema"
      }
    },
    "securitySchemes": {
      "app": {
        "type": "oauth2",
        "flows": {
          "password": {
            "tokenUrl": "http:\/\/127.0.0.1\/authorization\/token",
            "refreshUrl": "http:\/\/127.0.0.1\/authorization\/token",
            "scopes": {
              "system": ""
            }
          },
          "clientCredentials": {
            "tokenUrl": "http:\/\/127.0.0.1\/authorization\/token",
            "refreshUrl": "http:\/\/127.0.0.1\/authorization\/token",
            "scopes": {
              "system": ""
            }
          },
          "authorizationCode": {
            "authorizationUrl": "http:\/\/127.0.0.1\/apps\/developer\/#!\/auth",
            "tokenUrl": "http:\/\/127.0.0.1\/authorization\/token",
            "refreshUrl": "http:\/\/127.0.0.1\/authorization\/token",
            "scopes": {
              "system": ""
            }
          }
        }
      }
    }
  }
}