forked from Tufin/oasdiff
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcircular2.yaml
40 lines (40 loc) · 910 Bytes
/
circular2.yaml
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
30
31
32
33
34
35
36
37
38
39
40
openapi: 3.0.1
info:
title: Circular Schema
version: v1
paths:
/test:
post:
responses:
'200':
description: Success
content:
application/json:
schema:
$ref: '#/components/schemas/circular1'
components:
schemas:
circular1:
type: object
properties:
children:
type: array
items:
$ref: '#/components/schemas/circular1'
circular2:
oneOf:
- $ref: '#/components/schemas/circular2'
circular3:
oneOf:
- $ref: '#/components/schemas/circular2'
circular4:
oneOf:
- oneOf:
- $ref: '#/components/schemas/circular4'
circular5:
oneOf:
- $ref: '#/components/schemas/circular1'
circular6:
oneOf:
- $ref: '#/components/schemas/circular6'
- $ref: '#/components/schemas/circular1'