| 1 | --- |
| 2 | swagger: '2.0' |
| 3 | info: |
| 4 | version: '0.1.0' |
| 5 | title: JSON pointers |
| 6 | |
| 7 | paths: |
| 8 | /some/where: |
| 9 | get: |
| 10 | responses: |
| 11 | default: |
| 12 | schema: |
| 13 | $ref: '#/definitions/whiteStone/properties/p1' |
| 14 | definitions: |
| 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' |