{
  "openapi": "3.0.0",
  "info": {
    "title": "PSX",
    "version": "1"
  },
  "servers": [
    {
      "url": "http:\/\/foo.com\/"
    }
  ],
  "paths": {
    "\/foo": {
      "get": {
        "description": "A long **Test** description",
        "operationId": "doGet",
        "parameters": [
          {
            "name": "foo",
            "in": "query",
            "description": "Test",
            "required": false,
            "schema": {
              "description": "Test",
              "type": "string"
            }
          },
          {
            "name": "bar",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "baz",
            "in": "query",
            "required": false,
            "schema": {
              "enum": [
                "foo",
                "bar"
              ],
              "type": "string"
            }
          },
          {
            "name": "boz",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "pattern": "[A-z]+"
            }
          },
          {
            "name": "integer",
            "in": "query",
            "required": false,
            "schema": {
              "type": "integer"
            }
          },
          {
            "name": "number",
            "in": "query",
            "required": false,
            "schema": {
              "type": "number"
            }
          },
          {
            "name": "date",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "boolean",
            "in": "query",
            "required": false,
            "schema": {
              "type": "boolean"
            }
          },
          {
            "name": "string",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "description": "GET Request",
          "content": {
            "application\/json": {
              "schema": {
                "$ref": "#\/components\/schemas\/PSXApiTestsParserAnnotationTestControllerGetRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "GET 200 Response",
            "content": {
              "application\/json": {
                "schema": {
                  "$ref": "#\/components\/schemas\/PSXApiTestsParserAnnotationTestControllerGet200Response"
                }
              }
            }
          }
        }
      },
      "parameters": [
        {
          "name": "fooId",
          "in": "path",
          "required": true,
          "schema": {
            "type": "string"
          }
        }
      ]
    }
  },
  "components": {
    "schemas": {
      "rating:Rating": {
        "title": "Rating",
        "type": "object",
        "properties": {
          "author": {
            "type": "string"
          },
          "rating": {
            "type": "integer"
          },
          "text": {
            "type": "string"
          }
        }
      },
      "DogetQuery": {
        "type": "object",
        "properties": {
          "foo": {
            "description": "Test",
            "type": "string"
          },
          "bar": {
            "type": "string"
          },
          "baz": {
            "enum": [
              "foo",
              "bar"
            ],
            "type": "string"
          },
          "boz": {
            "type": "string",
            "pattern": "[A-z]+"
          },
          "integer": {
            "type": "integer"
          },
          "number": {
            "type": "number"
          },
          "date": {
            "type": "string"
          },
          "boolean": {
            "type": "boolean"
          },
          "string": {
            "type": "string"
          }
        },
        "required": [
          "bar"
        ]
      },
      "PSXApiTestsParserAnnotationTestControllerGet200Response": {
        "$ref": "#\/components\/schemas\/Song"
      },
      "PSXApiTestsParserAnnotationTestControllerGetRequest": {
        "$ref": "#\/components\/schemas\/Song"
      },
      "Path": {
        "type": "object",
        "properties": {
          "fooId": {
            "type": "string"
          }
        },
        "required": [
          "fooId"
        ]
      },
      "Song": {
        "description": "A canonical song",
        "type": "object",
        "properties": {
          "title": {
            "type": "string"
          },
          "artist": {
            "type": "string"
          },
          "length": {
            "type": "integer"
          },
          "ratings": {
            "type": "array",
            "items": {
              "$ref": "#\/components\/schemas\/rating:Rating"
            }
          }
        },
        "required": [
          "title",
          "artist"
        ]
      }
    }
  }
}