{
  "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": "System_Action_GetAbout",
        "responses": {
          "200": {
            "description": "GET 200 Response",
            "content": {
              "application\/json": {
                "schema": {
                  "$ref": "#\/components\/schemas\/System_About"
                }
              }
            }
          }
        }
      }
    }
  },
  "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"
          }
        }
      },
      "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"
      },
      "Passthru": {
        "description": "No schema information available",
        "type": "object"
      },
      "System_About": {
        "$ref": "#\/components\/schemas\/About"
      }
    },
    "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",
              "default": "",
              "foo": "Foo access",
              "plan_scope": "Plan scope access"
            }
          },
          "clientCredentials": {
            "tokenUrl": "http:\/\/127.0.0.1\/authorization\/token",
            "refreshUrl": "http:\/\/127.0.0.1\/authorization\/token",
            "scopes": {
              "bar": "Bar access",
              "default": "",
              "foo": "Foo access",
              "plan_scope": "Plan scope access"
            }
          },
          "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": {
              "bar": "Bar access",
              "default": "",
              "foo": "Foo access",
              "plan_scope": "Plan scope access"
            }
          }
        }
      }
    }
  }
}