Skip to content

Commit ecbaf4e

Browse files
committed
tests: update snapshots
1 parent 60ef033 commit ecbaf4e

2 files changed

Lines changed: 6 additions & 18 deletions

File tree

tests/e2e/bundle/ref-siblings/snapshot.txt

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -2,23 +2,20 @@ openapi: 3.1.0
22
info:
33
title: E2E bundle - ref with sibling keys
44
version: 1.0.0
5-
license:
6-
name: MIT
7-
identifier: MIT
85
servers:
96
- url: https://api.redocly.com
107
security: []
118
paths:
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
4640
components:
4741
parameters:
4842
id:

tests/e2e/bundle/ref-siblings/snapshot_2.txt

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -2,17 +2,14 @@ openapi: 3.1.0
22
info:
33
title: E2E bundle - ref with sibling keys
44
version: 1.0.0
5-
license:
6-
name: MIT
7-
identifier: MIT
85
servers:
96
- url: https://api.redocly.com
107
security: []
118
paths:
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
@@ -21,7 +18,7 @@ paths:
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:
@@ -40,7 +37,7 @@ paths:
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
@@ -52,9 +49,6 @@ paths:
5249
properties:
5350
value:
5451
type: string
55-
responses:
56-
'204':
57-
description: No content
5852
components:
5953
parameters:
6054
id:

0 commit comments

Comments
 (0)