File: recursive_reference_in_root.spec.yaml

package info (click to toggle)
python-prance 25.4.8.0%2Bds1-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 6,140 kB
  • sloc: python: 3,381; makefile: 205
file content (21 lines) | stat: -rw-r--r-- 484 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
---
openapi: 3.0.3
info:
  title: Test specification for the translating parser
  version: 0.0.0
paths:
  /hosts:
    get:
      responses:
        default:
          description: A local recursive reference
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RecursiveObject'
components:
  schemas:
    RecursiveObject:
      type: object
      additionalProperties:
        $ref: "#/components/schemas/RecursiveObject"