From 19d055a90b223a29491c8f73b4032ff0328dd27b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=8E=8B=E6=98=8E=E5=8D=8E?= <735161977@qq.com> Date: Mon, 8 Jan 2024 20:41:35 +0800 Subject: [PATCH] update: README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 951c2c4..f6ac96c 100644 --- a/README.md +++ b/README.md @@ -41,7 +41,7 @@ export interface ISwaggerOptions { serviceNameSuffix?: string enumNamePrefix?: string methodNameMode?: 'operationId' | 'path' | 'shortOperationId' | ((reqProps: IRequestMethod) => string) - classNameMode?: 'parentPath' | 'normal' | ((path: string, tag: string[]) => string) + classNameMode?: 'parentPath' | 'normal' | ((path: string, method: string, reqProps:IRequestMethod) => string) /** only effect classNameMode='parentPath' */ pathClassNameDefaultName?: string outputDir?: string