Skip to content

Commit 92ebb6b

Browse files
Copilotmrlubos
andcommitted
Add test snapshot for time format fix
Co-authored-by: mrlubos <[email protected]>
1 parent 36155c3 commit 92ebb6b

File tree

1 file changed

+20
-0
lines changed
  • packages/openapi-ts-tests/main/test/__snapshots__/3.1.x/time-format

1 file changed

+20
-0
lines changed
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
// This file is auto-generated by @hey-api/openapi-ts
2+
3+
import * as v from 'valibot';
4+
5+
export const vGetSearchData = v.object({
6+
body: v.optional(v.never()),
7+
path: v.optional(v.never()),
8+
query: v.object({
9+
start_time: v.optional(v.pipe(v.string(), v.isoTime())),
10+
end_time: v.pipe(v.string(), v.isoTime())
11+
})
12+
});
13+
14+
/**
15+
* Success
16+
*/
17+
export const vGetSearchResponse = v.object({
18+
result: v.optional(v.string()),
19+
scheduled_time: v.optional(v.pipe(v.string(), v.isoTime()))
20+
});

0 commit comments

Comments
 (0)