File tree Expand file tree Collapse file tree
tests/e2e/bundle/ref-siblings Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -2,23 +2,20 @@ openapi: 3.1.0
22info:
33 title: E2E bundle - ref with sibling keys
44 version: 1.0.0
5- license:
6- name: MIT
7- identifier: MIT
85servers:
96 - url: https://api.redocly.com
107security: []
118paths:
129 /sample:
1310 get:
14- summary: Sample GET (parameter $ref with sibling name)
1511 operationId: getSample
12+ description: parameter $ref with sibling name
1613 parameters:
1714 - $ref: '#/components/parameters/id'
1815 name: Referenced model
1916 responses:
2017 '200':
21- description: 200 response with JSON schema using $ref and sibling properties
18+ description: JSON schema using $ref and sibling properties
2219 content:
2320 application/json:
2421 schema:
@@ -35,14 +32,11 @@ paths:
3532 type: string
3633 /submit:
3734 post:
38- summary: Sample POST ( requestBody $ref with sibling description)
35+ description: requestBody $ref with sibling description
3936 operationId: postSubmit
4037 requestBody:
4138 $ref: '#/components/requestBodies/SampleBody'
4239 description: Referenced model
43- responses:
44- '204':
45- description: No content
4640components:
4741 parameters:
4842 id:
Original file line number Diff line number Diff line change @@ -2,17 +2,14 @@ openapi: 3.1.0
22info:
33 title: E2E bundle - ref with sibling keys
44 version: 1.0.0
5- license:
6- name: MIT
7- identifier: MIT
85servers:
96 - url: https://api.redocly.com
107security: []
118paths:
129 /sample:
1310 get:
14- summary: Sample GET (parameter $ref with sibling name)
1511 operationId: getSample
12+ description: parameter $ref with sibling name
1613 parameters:
1714 - name: Referenced model
1815 in: query
2118 type: string
2219 responses:
2320 '200':
24- description: 200 response with JSON schema using $ref and sibling properties
21+ description: JSON schema using $ref and sibling properties
2522 content:
2623 application/json:
2724 schema:
4037 type: object
4138 /submit:
4239 post:
43- summary: Sample POST ( requestBody $ref with sibling description)
40+ description: requestBody $ref with sibling description
4441 operationId: postSubmit
4542 requestBody:
4643 description: Referenced model
5249 properties:
5350 value:
5451 type: string
55- responses:
56- '204':
57- description: No content
5852components:
5953 parameters:
6054 id:
You can’t perform that action at this time.
0 commit comments