Skip to content

Commit 50d81ba

Browse files
authored
refactor: Redundant argument defaults in createSchema (#533)
1 parent dd6c05e commit 50d81ba

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

src/create/schema/schema.ts

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -41,11 +41,7 @@ export const createSchema = (
4141
*/
4242
schemaRefPath?: string;
4343
openapiVersion?: OpenApiVersion;
44-
} = {
45-
registry: createRegistry(),
46-
io: 'output',
47-
opts: {},
48-
},
44+
} = {},
4945
) => {
5046
ctx.registry ??= createRegistry({
5147
schemas: ctx.schemaComponents,

0 commit comments

Comments
 (0)