diff --git a/packages/max-plugin-openapi/src/index.ts b/packages/max-plugin-openapi/src/index.ts index f849dad..2336e1a 100644 --- a/packages/max-plugin-openapi/src/index.ts +++ b/packages/max-plugin-openapi/src/index.ts @@ -21,6 +21,7 @@ export default (api: IApi) => { projectName: joi.string(), apiPrefix: joi.alternatives(joi.string(), joi.function()), namespace: joi.string(), + dataFields: joi.array().items(joi.string()), hook: joi.object({ customFunctionName: joi.function(), customClassName: joi.function(),