File: fixture-pointers-loop.yaml

package info (click to toggle)
golang-github-go-openapi-analysis 0.23.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 2,548 kB
  • sloc: makefile: 4
file content (29 lines) | stat: -rw-r--r-- 555 bytes parent folder | download | duplicates (8)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
---
swagger: '2.0'
info:
  version: '0.1.0'
  title: JSON pointers

paths:
  /some/where:
    get:
      responses:
        default:
          schema:
            $ref: '#/definitions/whiteStone/properties/p1'
definitions:
  whiteStone:
    type: object
    properties:
      p1:
        $ref: '#/definitions/blackStone/properties/p2'
  blackStone:
    type: object
    properties:
      p2:
        $ref: '#/definitions/redStone/properties/p3'
  redStone:
    type: object
    properties:
      p3:
        $ref: '#/definitions/whiteStone/properties/p1'