diff --git a/src/create/schema/schema.ts b/src/create/schema/schema.ts index debfbc6a..2370787b 100644 --- a/src/create/schema/schema.ts +++ b/src/create/schema/schema.ts @@ -41,11 +41,7 @@ export const createSchema = ( */ schemaRefPath?: string; openapiVersion?: OpenApiVersion; - } = { - registry: createRegistry(), - io: 'output', - opts: {}, - }, + } = {}, ) => { ctx.registry ??= createRegistry({ schemas: ctx.schemaComponents,