Skip to content

Commit 7731913

Browse files
committed
feat: 重构API协议,新增endpoint.zod.ts并删除api.zod.ts,更新测试文件
1 parent 31b9f79 commit 7731913

File tree

3 files changed

+2
-1
lines changed

3 files changed

+2
-1
lines changed
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import {
55
ApiMappingSchema,
66
HttpMethod,
77
ApiEndpoint,
8-
} from './api.zod';
8+
} from '../system/api.zod';
99

1010
describe('HttpMethod', () => {
1111
it('should accept valid HTTP methods', () => {

packages/spec/src/api/index.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,3 +7,4 @@
77
*/
88

99
export * from './contract.zod';
10+
export * from './endpoint.zod';

0 commit comments

Comments
 (0)