Heray-Was-Here
Server : LiteSpeed
System : Linux uk-fast-web1372.main-hosting.eu 4.18.0-553.121.1.lve.el8.x86_64 #1 SMP Thu Apr 30 16:40:41 UTC 2026 x86_64
User : u390967363 ( 390967363)
PHP Version : 8.2.30
Disable Function : system, exec, shell_exec, passthru, mysql_list_dbs, ini_alter, dl, symlink, link, chgrp, leak, popen, apache_child_terminate, virtual, mb_send_mail
Directory :  /opt/go/pkg/mod/github.com/go-openapi/analysis@v0.22.2/fixtures/oaigen/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //opt/go/pkg/mod/github.com/go-openapi/analysis@v0.22.2/fixtures/oaigen/test3-ter-swagger-flat.json
{
  "consumes": [
    "application/json"
  ],
  "produces": [
    "application/json"
  ],
  "schemes": [
    "http"
  ],
  "swagger": "2.0",
  "info": {
    "description": "recursively following JSON references",
    "title": "test 1",
    "contact": {
      "name": "Fred"
    },
    "version": "0.1.1"
  },
  "paths": {
    "/getAll": {
      "get": {
        "operationId": "getAll",
        "parameters": [
          {
            "description": "max number of results",
            "name": "a",
            "in": "body",
            "schema": {
              "$ref": "#/definitions/a"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "schema": {
              "$ref": "#/definitions/b1"
            }
          },
          "201": {
            "description": "Success",
            "schema": {
              "$ref": "#/definitions/b2"
            }
          },
          "203": {
            "description": "Success",
            "schema": {
              "$ref": "#/definitions/b3"
            }
          }
        }
      }
    }
  },
  "definitions": {
    "a": {
      "type": "string"
    },
    "b1": {
      "$ref": "#/definitions/b1OAIGen"
    },
    "b1OAIGen": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "b2": {
      "$ref": "#/definitions/b2OAIGen"
    },
    "b2OAIGen": {
      "type": "object",
      "properties": {
        "x2": {
          "type": "string"
        }
      }
    },
    "b3": {
      "$ref": "#/definitions/b3OAIGen"
    },
    "b3OAIGen": {
      "type": "object",
      "additionalProperties": {
        "type": "string"
      }
    }
  }
}

Hry