ROOTPLOIT
Server: LiteSpeed
System: Linux in-mum-web1878.main-hosting.eu 5.14.0-570.21.1.el9_6.x86_64 #1 SMP PREEMPT_DYNAMIC Wed Jun 11 07:22:35 EDT 2025 x86_64
User: u435929562 (435929562)
PHP: 7.4.33
Disabled: system, exec, shell_exec, passthru, mysql_list_dbs, ini_alter, dl, symlink, link, chgrp, leak, popen, apache_child_terminate, virtual, mb_send_mail
Upload Files
File: //opt/go/pkg/mod/github.com/go-openapi/[email protected]/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"
      }
    }
  }
}