...
1{
2 "swagger": "2.0",
3 "info": {
4 "title": "circular schema with ID",
5 "description": "reproduces #92",
6 "version": "1.0.0"
7 },
8 "host": "id.api.local",
9 "basePath": "/v1",
10 "consumes": [ "application/json" ],
11 "produces": [ "application/json" ],
12 "schemes": [ "http" ],
13 "paths": {
14 "/id": {
15 "get": {
16 "responses": {
17 "200": {
18 "description": "item detail response",
19 "schema": {
20 "$ref": "#/definitions/remote"
21 }
22 }
23 }
24 }
25 }
26 },
27 "definitions": {
28 "remote": {
29 "$ref": "http://localhost:1234/tree"
30 }
31 }
32}
View as plain text