Skip to content

Commit 2374fda

Browse files
committed
chore: update e2e test
1 parent abc1cf7 commit 2374fda

File tree

3 files changed

+5
-17
lines changed

3 files changed

+5
-17
lines changed

tests/e2e/bundle/bundle-example-value-with-ref/example.json

Lines changed: 0 additions & 4 deletions
This file was deleted.

tests/e2e/bundle/bundle-example-value-with-ref/openapi.yaml

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -12,21 +12,17 @@ paths:
1212
schema:
1313
type: object
1414
properties:
15-
id:
16-
type: integer
17-
name:
15+
$ref:
1816
type: string
19-
active:
20-
type: boolean
2117
example:
22-
$ref: example.json
18+
$ref: example.json # should NOT be resolved
2319
examples:
2420
Test:
2521
summary: Example with $ref in value (should NOT resolve)
2622
value:
27-
$ref: example.json
23+
$ref: example.json # should NOT be resolved
2824

2925
TestDataValue:
3026
summary: Example with $ref in dataValue (should NOT resolve)
3127
dataValue:
32-
$ref: example.json
28+
$ref: example.json # should NOT be resolved

tests/e2e/bundle/bundle-example-value-with-ref/snapshot.txt

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,8 @@ paths:
1212
schema:
1313
type: object
1414
properties:
15-
id:
16-
type: integer
17-
name:
15+
$ref:
1816
type: string
19-
active:
20-
type: boolean
2117
example:
2218
$ref: example.json
2319
examples:

0 commit comments

Comments
 (0)