Skip to content

Commit e08649e

Browse files
WangMingHua111Manweill
authored andcommitted
fix: 移除可变security定义
1 parent 00bc017 commit e08649e

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

src/templates/serviceHeader.ts

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -24,10 +24,6 @@ export function serviceHeader(options: ISwaggerOptions) {
2424
* display error message
2525
*/
2626
showError?: boolean;
27-
/**
28-
* data security, extended fields are encrypted using the specified algorithm
29-
*/
30-
security?: Record<string, 'md5' | 'sha1' | 'aes' | 'des'>;
3127
/**
3228
* indicates whether Authorization credentials are required for the request
3329
* @default true
@@ -78,10 +74,6 @@ export function customerServiceHeader(options: ISwaggerOptions) {
7874
* display error message
7975
*/
8076
showError?: boolean;
81-
/**
82-
* data security, extended fields are encrypted using the specified algorithm
83-
*/
84-
security?: Record<string, 'md5' | 'sha1' | 'aes' | 'des'>;
8577
/**
8678
* indicates whether Authorization credentials are required for the request
8779
* @default true

0 commit comments

Comments
 (0)