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/spec@v0.21.0/fixtures/more_circulars/ |
{
"swagger": "2.0",
"info": {
"title": "circular schema with ID",
"description": "reproduces #92",
"version": "1.0.0"
},
"host": "id.api.local",
"basePath": "/v1",
"consumes": [ "application/json" ],
"produces": [ "application/json" ],
"schemes": [ "http" ],
"paths": {
"/id": {
"get": {
"responses": {
"200": {
"description": "item detail response",
"schema": {
"$ref": "#/definitions/remote"
}
}
}
}
}
},
"definitions": {
"remote": {
"$ref": "http://localhost:1234/tree"
}
}
}