{
  "openapi": "3.0.0",
  "info": {
    "title": "Legend API",
    "version": "1.0.0"
  },
  "servers": [
    {
      "url": "test"
    }
  ],
  "paths": {
    "/service/testOpenApi": {
      "get": {
        "tags": [
          "definition"
        ],
        "responses": {
          "200": {
            "description": "success",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Person"
                }
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "definition"
        ],
        "responses": {
          "200": {
            "description": "success",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Person"
                }
              }
            }
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "Person": {
        "type": "object",
        "properties": {
          "age": {
            "type": "integer"
          },
          "lastName": {
            "type": "string"
          },
          "firstName": {
            "type": "string"
          }
        }
      }
    }
  }
}