Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit c3da347

Browse files
committedAug 25, 2023
update lockfile
1 parent e172f49 commit c3da347

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed
 

‎packages/openapi-typescript/src/transform/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ export function transformSchema(schema: OpenAPI3, ctx: GlobalContext): Record<st
2727
else output.$defs = "";
2828

2929
// types
30-
if (schema.components) output.types = transformComponentsObjectToTypes(schema.components, ctx);
30+
if (schema.components) output.types = transformComponentsObject(schema.components, ctx);
3131
else output.types = "";
3232

3333
console.log(output.types);

‎pnpm-lock.yaml

Lines changed: 8 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)
Please sign in to comment.