GitHub Raw JSON API

ktorio / ktor

14,452 Kotlin

Framework for quickly creating connected applications in Kotlin with minimal effort

OpenAPI Document Specification

Located in ktor-compiler-plugin/testData/openapi/CallHandlerFunctions.expected.json on branch HEAD

3.1.1 JSON 6 Endpoints 3.8 KB

Operations & Route Endpoints (6)

GET /call-receiver-extension
GET /request-parameters
GET /response-header
GET /recursive-function
GET /passing-arguments
GET /reified-type-parameter
Raw JSON Specification
{
  "openapi": "3.1.1",
  "info": {
    "title": "OpenAPI Document",
    "version": "1.0.0"
  },
  "paths": {
    "/call-receiver-extension": {
      "get": {
        "summary": "",
        "responses": {
          "200": {
            "description": "",
            "content": {
              "text/plain": {},
              "text/html": {}
            }
          }
        }
      }
    },
    "/request-parameters": {
      "get": {
        "summary": "",
        "parameters": [
          {
            "name": "recipient",
            "in": "query",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "",
            "content": {
              "text/plain": {},
              "text/html": {}
            }
          }
        }
      }
    },
    "/response-header": {
      "get": {
        "summary": "",
        "parameters": [
          {
            "name": "recipient",
            "in": "query",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "",
            "headers": {
              "X-Recipient": {
                "content": {
                  "text/plain": {}
                }
              }
            },
            "content": {
              "text/plain": {},
              "text/html": {}
            }
          }
        }
      }
    },
    "/recursive-function": {
      "get": {
        "summary": "",
        "responses": {
          "200": {
            "description": "",
            "content": {
              "text/plain": {}
            }
          }
        }
      }
    },
    "/passing-arguments": {
      "get": {
        "summary": "",
        "responses": {
          "200": {
            "description": "",
            "headers": {
              "X-Foo": {
                "content": {
                  "text/plain": {}
                }
              }
            },
            "content": {
              "application/json": {}
            }
          }
        }
      }
    },
    "/reified-type-parameter": {
      "get": {
        "summary": "",
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "type": "integer"
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "components": {}
}