Skip to content

Commit be0ba5f

Browse files
committed
chore: update
1 parent 344fce0 commit be0ba5f

File tree

8 files changed

+54
-18
lines changed

8 files changed

+54
-18
lines changed

.changeset/fluffy-actors-travel.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"typed-openapi": minor
3+
---
4+
5+
Bump @sinclair/typebox-codegen version

packages/typed-openapi/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
"dependencies": {
2323
"@apidevtools/swagger-parser": "^10.1.0",
2424
"@changesets/cli": "^2.26.2",
25-
"@sinclair/typebox-codegen": "^0.10.3",
25+
"@sinclair/typebox-codegen": "^0.10.5",
2626
"arktype": "1.0.18-alpha",
2727
"cac": "^6.7.14",
2828
"openapi3-ts": "^4.1.2",

packages/typed-openapi/tests/snapshots/docker.openapi.zod.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import z from "zod";
1+
import { z } from "zod";
22

33
export type Port = z.infer<typeof Port>;
44
export const Port = z.object({

packages/typed-openapi/tests/snapshots/long-operation-id.arktype.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ export const types = scope({
2121
response: "unknown",
2222
},
2323
__ENDPOINTS_END__: {},
24-
}).compile();
24+
}).export();
2525

2626
export type __ENDPOINTS_START__ = typeof __ENDPOINTS_START__.infer;
2727
export const __ENDPOINTS_START__ = types.__ENDPOINTS_START__;

packages/typed-openapi/tests/snapshots/long-operation-id.zod.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import z from "zod";
1+
import { z } from "zod";
22

33
export type get_Get_users = typeof get_Get_users;
44
export const get_Get_users = {

packages/typed-openapi/tests/snapshots/petstore.arktype.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -257,7 +257,7 @@ export const types = scope({
257257
response: "unknown",
258258
},
259259
__ENDPOINTS_END__: {},
260-
}).compile();
260+
}).export();
261261

262262
export type Order = typeof Order.infer;
263263
export const Order = types.Order;

packages/typed-openapi/tests/snapshots/petstore.zod.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import z from "zod";
1+
import { z } from "zod";
22

33
export type Order = z.infer<typeof Order>;
44
export const Order = z.object({

pnpm-lock.yaml

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

0 commit comments

Comments
 (0)