Skip to content

Commit b8d6898

Browse files
committed
fix(openapi): allow partial config
1 parent e8deb4d commit b8d6898

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/config/schema.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ export interface ConfigurationSchema extends BaseConfitSchema {
1717
preLog?: boolean;
1818
};
1919
routing?: {
20-
openapi?: boolean | Parameters<typeof middleware>[0];
20+
openapi?: boolean | Partial<Parameters<typeof middleware>[0]>;
2121
// Relative to the *root directory* of the app
2222
routes?: string;
2323
// Whether to add middleware that "freezes" the query string

0 commit comments

Comments
 (0)