Skip to content

Commit 53ae0a4

Browse files
committed
fix(tests): updated redocly openapi schema location
Redocly refactored their tests folder structure in Redocly/redocly-cli@cf26d60 And fixed a typo in their schemas in Redocly/redocly-cli@13e753a
1 parent 12f9c29 commit 53ae0a4

File tree

9 files changed

+13
-10
lines changed

9 files changed

+13
-10
lines changed

packages/openapi-typescript/examples/simple-example.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ export interface paths {
112112
path?: never;
113113
cookie?: never;
114114
};
115-
/** Checks if unevaluetedProperties work */
115+
/** Checks if unevaluatedProperties work */
116116
get: operations["getUnevaluatedProperties"];
117117
put?: never;
118118
post?: never;

packages/openapi-typescript/examples/simple-example.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ paths:
109109
/unevaluated-properties:
110110
get:
111111
operationId: getUnevaluatedProperties
112-
summary: Checks if unevaluetedProperties work
112+
summary: Checks if unevaluatedProperties work
113113
responses:
114114
200:
115115
description: 'OK'

packages/openapi-typescript/test/fixtures/redocly-flag/openapi/a.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ paths:
109109
/unevaluated-properties:
110110
get:
111111
operationId: getUnevaluatedProperties
112-
summary: Checks if unevaluetedProperties work
112+
summary: Checks if unevaluatedProperties work
113113
responses:
114114
200:
115115
description: 'OK'

packages/openapi-typescript/test/fixtures/redocly-flag/openapi/b.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ paths:
109109
/unevaluated-properties:
110110
get:
111111
operationId: getUnevaluatedProperties
112-
summary: Checks if unevaluetedProperties work
112+
summary: Checks if unevaluatedProperties work
113113
responses:
114114
200:
115115
description: 'OK'

packages/openapi-typescript/test/fixtures/redocly-flag/openapi/c.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ paths:
109109
/unevaluated-properties:
110110
get:
111111
operationId: getUnevaluatedProperties
112-
summary: Checks if unevaluetedProperties work
112+
summary: Checks if unevaluatedProperties work
113113
responses:
114114
200:
115115
description: 'OK'

packages/openapi-typescript/test/fixtures/redocly/openapi/a.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ paths:
109109
/unevaluated-properties:
110110
get:
111111
operationId: getUnevaluatedProperties
112-
summary: Checks if unevaluetedProperties work
112+
summary: Checks if unevaluatedProperties work
113113
responses:
114114
200:
115115
description: 'OK'

packages/openapi-typescript/test/fixtures/redocly/openapi/b.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ paths:
109109
/unevaluated-properties:
110110
get:
111111
operationId: getUnevaluatedProperties
112-
summary: Checks if unevaluetedProperties work
112+
summary: Checks if unevaluatedProperties work
113113
responses:
114114
200:
115115
description: 'OK'

packages/openapi-typescript/test/fixtures/redocly/openapi/c.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ paths:
109109
/unevaluated-properties:
110110
get:
111111
operationId: getUnevaluatedProperties
112-
summary: Checks if unevaluetedProperties work
112+
summary: Checks if unevaluatedProperties work
113113
responses:
114114
200:
115115
description: 'OK'

packages/openapi-typescript/test/node-api.test.ts

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,15 +58,18 @@ export type operations = Record<string, never>;`,
5858
[
5959
"input > string > URL",
6060
{
61-
given: "https://raw.githubusercontent.com/Redocly/redocly-cli/main/__tests__/lint/oas3.1/openapi.yaml",
61+
given:
62+
"https://raw.githubusercontent.com/Redocly/redocly-cli/13e753a4ca008293dab212ad3b70109166bf93c5/__tests__/lint/oas3.1/openapi.yaml",
6263
want: new URL("simple-example.ts", EXAMPLES_DIR),
6364
// options: DEFAULT_OPTIONS,
6465
},
6566
],
6667
[
6768
"input > URL > remote",
6869
{
69-
given: new URL("https://raw.githubusercontent.com/Redocly/redocly-cli/main/__tests__/lint/oas3.1/openapi.yaml"),
70+
given: new URL(
71+
"https://raw.githubusercontent.com/Redocly/redocly-cli/13e753a4ca008293dab212ad3b70109166bf93c5/__tests__/lint/oas3.1/openapi.yaml",
72+
),
7073
want: new URL("simple-example.ts", EXAMPLES_DIR),
7174
// options: DEFAULT_OPTIONS,
7275
},

0 commit comments

Comments
 (0)