Server : LiteSpeed System : Linux in-mum-web1949.main-hosting.eu 5.14.0-503.40.1.el9_5.x86_64 #1 SMP PREEMPT_DYNAMIC Mon May 5 06:06:04 EDT 2025 x86_64 User : u595547767 ( 595547767) PHP Version : 7.4.33 Disable Function : NONE Directory : /opt/go/pkg/mod/github.com/go-openapi/analysis@v0.23.0/fixtures/expected/ |
{
"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"
}
}
}