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/bugs/1429/responses.yaml
swagger: '2.0'
info:
  title: Responses
  version: 0.1.0

definitions:
  Error:
    type: object
    description: |
      Contains all the properties any error response from the API will contain.
      Some properties are optional so might be empty most of the time
    required:
      - code
      - message
    properties:
      code:
        description: the error code, this is not necessarily the http status code
        type: integer
        format: int32
      message:
        description: a human readable version of the error
        type: string
      helpUrl:
        description: an optional url for getting more help about this error
        type: string
        format: uri

  myArray:
    type: array
    items:
      $ref: '#/definitions/myItems'

  myItems:
    type: object
    properties:
      propItems1:
        type: integer
      propItems2:
        $ref: 'remote/remote.yaml#/aRemotePlace'

otherPlace:
  Error:
    type: object
    properties:
      message:
        type: string

parameters:
  BadRequest:
    name: badRequest
    in: body
    schema:
      $ref: '#/definitions/Error'
  GoodRequest:
    name: goodRequest
    in: body
    schema:
      $ref: '#/otherPlace/Error'
  PlainRequest:
    name: plainRequest
    in: body
    schema:
      type: integer
  StrangeRequest:
    name: stangeRequest
    in: body
    schema:
      $ref: 'responses.yaml#/otherPlace/Error'
  RemoteRequest:
    name: remoteRequest
    in: body
    schema:
      $ref: './remote/remote.yaml#/moreRemoteThanYouCanThink'

responses:
  BadRequest:
    description: Bad request
    schema:
      $ref: '#/definitions/Error'
  GoodRequest:
    description: good request
    schema:
      $ref: '#/otherPlace/Error'
  PlainRequest:
    description: plain request
    schema:
      type: integer
  StrangeRequest:
    description: strange request
    schema:
      $ref: 'responses.yaml#/otherPlace/Error'
  RemoteRequest:
    description: remote request
    schema:
      $ref: './remote/remote.yaml#/moreRemoteThanYouCanThink'

paths:
  /:
    get:
      summary: GET
      operationId: getAll
      responses:
        200:
          description: Ok