Skip to content

Commit 9eface8

Browse files
committed
chore: update and add new test cases for the next @hey-api/json-schema-ref-parser 1.0.9 update
1 parent d353e46 commit 9eface8

File tree

139 files changed

+3428
-796
lines changed

Some content is hidden

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

139 files changed

+3428
-796
lines changed

packages/openapi-ts-tests/main/test/2.0.x.test.ts

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,13 @@ describe(`OpenAPI ${version}`, () => {
4444
};
4545

4646
const scenarios = [
47+
{
48+
config: createConfig({
49+
input: 'external.yaml',
50+
output: 'external',
51+
}),
52+
description: 'handles external references',
53+
},
4754
{
4855
config: createConfig({
4956
input: 'additional-properties-false.json',

packages/openapi-ts-tests/main/test/3.0.x.test.ts

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,13 @@ describe(`OpenAPI ${version}`, () => {
4444
};
4545

4646
const scenarios = [
47+
{
48+
config: createConfig({
49+
input: 'external.yaml',
50+
output: 'external',
51+
}),
52+
description: 'handles external references',
53+
},
4754
{
4855
config: createConfig({
4956
input: 'additional-properties-false.json',

packages/openapi-ts-tests/main/test/3.1.x.test.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -931,7 +931,6 @@ describe(`OpenAPI ${version}`, () => {
931931
];
932932

933933
it.each(scenarios)('$description', async ({ config }) => {
934-
// it.each([scenarios[0]])('$description', async ({ config }) => {
935934
await createClient(config);
936935

937936
const outputPath =
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
// This file is auto-generated by @hey-api/openapi-ts
2+
export * from './types.gen';

0 commit comments

Comments
 (0)