...
1---
2swagger: '2.0'
3info:
4 version: '0.1.0'
5 title: JSON pointers
6
7paths:
8 /some/where:
9 get:
10 responses:
11 default:
12 schema:
13 $ref: '#/definitions/whiteStone/properties/p1'
14definitions:
15 whiteStone:
16 type: object
17 properties:
18 p1:
19 $ref: '#/definitions/blackStone/properties/p2'
20 blackStone:
21 type: object
22 properties:
23 p2:
24 $ref: '#/definitions/redStone/properties/p3'
25 redStone:
26 type: object
27 properties:
28 p3:
29 $ref: '#/definitions/whiteStone/properties/p1'
View as plain text