Skip to content

Commit 7d2b034

Browse files
committed
fix lint and bundle output
1 parent 3b063e0 commit 7d2b034

File tree

176 files changed

+425
-416
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

176 files changed

+425
-416
lines changed

__tests__/bundle/async3/snapshot.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ operations:
5454
format: email
5555
description: Email of the user
5656
57-
bundling ./simple.yml...
58-
📦 Created a bundle for ./simple.yml at stdout <test>ms.
57+
bundling simple.yml...
58+
📦 Created a bundle for simple.yml at stdout <test>ms.
5959
6060
`;

__tests__/bundle/bundle-anchor/snapshot.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ paths:
2828
foo: TEST
2929
components: {}
3030
31-
bundling ./test.yaml...
32-
📦 Created a bundle for ./test.yaml at stdout <test>ms.
31+
bundling test.yaml...
32+
📦 Created a bundle for test.yaml at stdout <test>ms.
3333
3434
`;

__tests__/bundle/bundle-description-dereferenced/snapshot.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,8 @@ components:
3636
$ref: '#/components/schemas/Name'
3737
description: Other name (specific).
3838
39-
bundling ./test.yaml...
40-
📦 Created a bundle for ./test.yaml at stdout <test>ms.
39+
bundling test.yaml...
40+
📦 Created a bundle for test.yaml at stdout <test>ms.
4141
4242
`;
4343

__tests__/bundle/bundle-description-long/snapshot.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@ info:
1818
security: []
1919
components: {}
2020
21-
bundling ./test.yaml...
22-
📦 Created a bundle for ./test.yaml at stdout <test>ms.
21+
bundling test.yaml...
22+
📦 Created a bundle for test.yaml at stdout <test>ms.
2323
2424
`;
2525

__tests__/bundle/bundle-external-value/snapshot.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -36,9 +36,9 @@ paths:
3636
externalValue: ./external-value.json
3737
components: {}
3838
39-
bundling ./test-success.yaml...
40-
📦 Created a bundle for ./test-success.yaml at stdout <test>ms.
41-
bundling ./test-wrong-examples.yaml...
39+
bundling test-success.yaml...
40+
📦 Created a bundle for test-success.yaml at stdout <test>ms.
41+
bundling test-wrong-examples.yaml...
4242
[1] test-wrong-examples.yaml:27:17 at #/paths/~1/post/requestBody/content/application~1xml/examples/test-wrong-ref
4343
4444
Can't resolve $ref: ENOENT: no such file or directory './__tests__/bundle/bundle-external-value/external-value-bad-path.json'
@@ -54,6 +54,6 @@ Can't resolve $ref: ENOENT: no such file or directory './__tests__/bundle/bundle
5454
Error was generated by the bundler rule.
5555
5656
57-
❌ Errors encountered while bundling ./test-wrong-examples.yaml: bundle not created (use --force to ignore errors).
57+
❌ Errors encountered while bundling test-wrong-examples.yaml: bundle not created (use --force to ignore errors).
5858
5959
`;

__tests__/bundle/bundle-remove-unused-components-from-config/oas2-without-option/without-remove-unused-components-snapshot.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ securityDefinitions:
3838
name: access_token
3939
type: apiKey
4040
41-
bundling ./openapi.yaml...
42-
📦 Created a bundle for ./openapi.yaml at stdout <test>ms.
41+
bundling openapi.yaml...
42+
📦 Created a bundle for openapi.yaml at stdout <test>ms.
4343
4444
`;

__tests__/bundle/bundle-remove-unused-components-from-config/oas2/remove-unused-components-snapshot.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@ definitions:
1414
ref:
1515
type: string
1616
17-
bundling ./openapi.yaml...
18-
📦 Created a bundle for ./openapi.yaml at stdout <test>ms.
17+
bundling openapi.yaml...
18+
📦 Created a bundle for openapi.yaml at stdout <test>ms.
1919
🧹 Removed 4 unused components.
2020
2121
`;

__tests__/bundle/bundle-remove-unused-components-from-config/oas3-without-option/without-remove-unused-components-snapshot.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ components:
5353
schema:
5454
type: integer
5555
56-
bundling ./openapi.yaml...
57-
📦 Created a bundle for ./openapi.yaml at stdout <test>ms.
56+
bundling openapi.yaml...
57+
📦 Created a bundle for openapi.yaml at stdout <test>ms.
5858
5959
`;

__tests__/bundle/bundle-remove-unused-components-from-config/oas3/remove-unused-components-snapshot.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@ components:
1717
ref:
1818
type: string
1919
20-
bundling ./openapi.yaml...
21-
📦 Created a bundle for ./openapi.yaml at stdout <test>ms.
20+
bundling openapi.yaml...
21+
📦 Created a bundle for openapi.yaml at stdout <test>ms.
2222
🧹 Removed 6 unused components.
2323
2424
`;

__tests__/bundle/bundle-remove-unused-components/oas2/remove-unused-components-snapshot.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@ definitions:
1414
ref:
1515
type: string
1616
17-
bundling ./openapi.yaml...
18-
📦 Created a bundle for ./openapi.yaml at stdout <test>ms.
17+
bundling openapi.yaml...
18+
📦 Created a bundle for openapi.yaml at stdout <test>ms.
1919
🧹 Removed 4 unused components.
2020
2121
`;

0 commit comments

Comments
 (0)