diff --git a/packages/plugin-openapi/src/index.ts b/packages/plugin-openapi/src/index.ts index 1da49b00..30c720c5 100644 --- a/packages/plugin-openapi/src/index.ts +++ b/packages/plugin-openapi/src/index.ts @@ -20,6 +20,7 @@ export default (api: IApi) => { hook: joi.object({ customFunctionName: joi.function(), customClassName: joi.function(), + customTypeName: joi.function(), }), }); return joi.alternatives(joi.array().items(itemSchema), itemSchema);