Skip to content

Commit 7c6a67e

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 7c6a67e

File tree

9 files changed

+10
-10
lines changed

9 files changed

+10
-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: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,15 +58,15 @@ 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: "https://raw.githubusercontent.com/Redocly/redocly-cli/refs/heads/main/tests/e2e/lint/oas3.1/openapi.yaml",
6262
want: new URL("simple-example.ts", EXAMPLES_DIR),
6363
// options: DEFAULT_OPTIONS,
6464
},
6565
],
6666
[
6767
"input > URL > remote",
6868
{
69-
given: new URL("https://raw.githubusercontent.com/Redocly/redocly-cli/main/__tests__/lint/oas3.1/openapi.yaml"),
69+
given: new URL("https://raw.githubusercontent.com/Redocly/redocly-cli/refs/heads/main/tests/e2e/lint/oas3.1/openapi.yaml"),
7070
want: new URL("simple-example.ts", EXAMPLES_DIR),
7171
// options: DEFAULT_OPTIONS,
7272
},

0 commit comments

Comments
 (0)