{
  "openapi": "3.0.0",
  "info": {
    "title": "Fusio",
    "version": "1"
  },
  "servers": [
    {
      "url": "http:\/\/127.0.0.1\/"
    }
  ],
  "paths": {
    "\/inspect\/{foo}": {
      "get": {
        "tags": [
          "foo",
          "bar"
        ],
        "operationId": "Inspect-Action",
        "requestBody": {
          "description": "GET Request",
          "content": {
            "application\/json": {
              "schema": {
                "$ref": "#\/components\/schemas\/Passthru"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "GET 200 Response",
            "content": {
              "application\/json": {
                "schema": {
                  "$ref": "#\/components\/schemas\/Passthru"
                }
              }
            }
          }
        },
        "security": [
          {
            "app": [
              "foo",
              "bar"
            ]
          }
        ]
      },
      "put": {
        "tags": [
          "foo",
          "bar"
        ],
        "operationId": "Inspect-Action",
        "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\/Passthru"
                }
              }
            }
          }
        },
        "security": [
          {
            "app": [
              "foo",
              "bar"
            ]
          }
        ]
      },
      "post": {
        "tags": [
          "foo",
          "bar"
        ],
        "operationId": "Inspect-Action",
        "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\/Passthru"
                }
              }
            }
          }
        },
        "security": [
          {
            "app": [
              "foo",
              "bar"
            ]
          }
        ]
      },
      "delete": {
        "tags": [
          "foo",
          "bar"
        ],
        "operationId": "Inspect-Action",
        "requestBody": {
          "description": "DELETE Request",
          "content": {
            "application\/json": {
              "schema": {
                "$ref": "#\/components\/schemas\/Passthru"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "DELETE 200 Response",
            "content": {
              "application\/json": {
                "schema": {
                  "$ref": "#\/components\/schemas\/Passthru"
                }
              }
            }
          }
        },
        "security": [
          {
            "app": [
              "foo",
              "bar"
            ]
          }
        ]
      },
      "patch": {
        "tags": [
          "foo",
          "bar"
        ],
        "operationId": "Inspect-Action",
        "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\/Passthru"
                }
              }
            }
          }
        },
        "security": [
          {
            "app": [
              "foo",
              "bar"
            ]
          }
        ]
      },
      "parameters": [
        {
          "name": "foo",
          "in": "path",
          "required": false,
          "schema": {
            "type": "string"
          }
        }
      ]
    },
    "\/foo": {
      "get": {
        "tags": [
          "bar"
        ],
        "operationId": "listFoo",
        "responses": {
          "200": {
            "description": "GET 200 Response",
            "content": {
              "application\/json": {
                "schema": {
                  "$ref": "#\/components\/schemas\/Collection-Schema"
                }
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "bar"
        ],
        "operationId": "createFoo",
        "requestBody": {
          "description": "POST Request",
          "content": {
            "application\/json": {
              "schema": {
                "$ref": "#\/components\/schemas\/Entry-Schema"
              }
            }
          }
        },
        "responses": {
          "201": {
            "description": "POST 201 Response",
            "content": {
              "application\/json": {
                "schema": {
                  "$ref": "#\/components\/schemas\/Passthru"
                }
              }
            }
          }
        },
        "security": [
          {
            "app": [
              "bar"
            ]
          }
        ]
      }
    },
    "\/": {
      "get": {
        "operationId": "Action_Welcome",
        "responses": {
          "200": {
            "description": "GET 200 Response",
            "content": {
              "application\/json": {
                "schema": {
                  "$ref": "#\/components\/schemas\/Passthru"
                }
              }
            }
          }
        },
        "security": [
          {
            "app": []
          }
        ]
      }
    }
  },
  "components": {
    "schemas": {
      "Collection": {
        "title": "collection",
        "type": "object",
        "properties": {
          "totalResults": {
            "type": "integer"
          },
          "itemsPerPage": {
            "type": "integer"
          },
          "startIndex": {
            "type": "integer"
          },
          "entry": {
            "$ref": "#\/components\/schemas\/Entry"
          }
        }
      },
      "Collection-Schema": {
        "$ref": "#\/components\/schemas\/Collection"
      },
      "Entry": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer"
          },
          "title": {
            "type": "string"
          },
          "content": {
            "type": "string"
          },
          "date": {
            "format": "date-time",
            "type": "string"
          }
        }
      },
      "Entry-Schema": {
        "$ref": "#\/components\/schemas\/Entry"
      },
      "InspectFooPath": {
        "type": "object",
        "properties": {
          "foo": {
            "type": "string"
          }
        }
      },
      "Passthru": {
        "description": "No schema information available",
        "type": "object"
      }
    },
    "securitySchemes": {
      "app": {
        "type": "oauth2",
        "flows": {
          "password": {
            "tokenUrl": "http:\/\/127.0.0.1\/authorization\/token",
            "refreshUrl": "http:\/\/127.0.0.1\/authorization\/token",
            "scopes": {
              "bar": "Bar access",
              "foo": "Foo access",
              "default": ""
            }
          },
          "clientCredentials": {
            "tokenUrl": "http:\/\/127.0.0.1\/authorization\/token",
            "refreshUrl": "http:\/\/127.0.0.1\/authorization\/token",
            "scopes": {
              "bar": "Bar access",
              "foo": "Foo access",
              "default": ""
            }
          },
          "authorizationCode": {
            "authorizationUrl": "http:\/\/127.0.0.1\/developer\/auth",
            "tokenUrl": "http:\/\/127.0.0.1\/authorization\/token",
            "refreshUrl": "http:\/\/127.0.0.1\/authorization\/token",
            "scopes": {
              "bar": "Bar access",
              "foo": "Foo access",
              "default": ""
            }
          }
        }
      },
      "backend": {
        "type": "oauth2",
        "flows": {
          "clientCredentials": {
            "tokenUrl": "http:\/\/127.0.0.1\/backend\/token",
            "refreshUrl": "http:\/\/127.0.0.1\/authorization\/token",
            "scopes": {
              "backend.user": "",
              "backend.transaction": "",
              "backend.statistic": "",
              "backend.sdk": "",
              "backend.scope": "",
              "backend.schema": "",
              "backend.route": "",
              "backend.rate": "",
              "backend.plan": "",
              "backend.marketplace": "",
              "backend.log": "",
              "backend.import": "",
              "backend.event": "",
              "backend.dashboard": "",
              "backend.cronjob": "",
              "backend.connection": "",
              "backend.config": "",
              "backend.audit": "",
              "backend.app": "",
              "backend.action": "",
              "backend.account": "",
              "backend": ""
            }
          }
        }
      },
      "consumer": {
        "type": "oauth2",
        "flows": {
          "clientCredentials": {
            "tokenUrl": "http:\/\/127.0.0.1\/consumer\/token",
            "refreshUrl": "http:\/\/127.0.0.1\/authorization\/token",
            "scopes": {
              "consumer.user": "",
              "consumer.transaction": "",
              "consumer.subscription": "",
              "consumer.scope": "",
              "consumer.plan": "",
              "consumer.grant": "",
              "consumer.event": "",
              "consumer.app": "",
              "consumer": ""
            }
          }
        }
      }
    }
  }
}