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/expected/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //opt/go/pkg/mod/github.com/go-openapi/analysis@v0.22.2/fixtures/expected/issue-2113.json
{
  "swagger": "2.0",
  "info": {
   "title": "nested $ref fixture",
   "version": "1"
  },
  "paths": {
   "/dummy": {
    "get": {
     "responses": {
      "200": {
       "description": "OK",
       "schema": {
        "$ref": "#/definitions/dummy"
       }
      }
     }
    }
   },
   "/example": {
    "get": {
     "responses": {
      "200": {
       "description": "OK",
       "schema": {
        "$ref": "#/definitions/example"
       }
      }
     }
    }
   }
  },
  "definitions": {
   "dummy": {
    "required": [
     "dummyPayload"
    ],
    "properties": {
     "dummyPayload": {
      "type": "string"
     }
    }
   },
   "example": {
    "required": [
     "payload"
    ],
    "properties": {
     "payload": {
      "type": "string"
     }
    },
    "$schema": "http://json-schema.org/draft-07/schema"
   }
  }
}

Hry