Skip to content

Commit

Permalink
fix: 移除可变security定义
Browse files Browse the repository at this point in the history
  • Loading branch information
WangMingHua111 authored and Manweill committed Aug 21, 2024
1 parent 00bc017 commit e08649e
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions src/templates/serviceHeader.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,6 @@ export function serviceHeader(options: ISwaggerOptions) {
* display error message
*/
showError?: boolean;
/**
* data security, extended fields are encrypted using the specified algorithm
*/
security?: Record<string, 'md5' | 'sha1' | 'aes' | 'des'>;
/**
* indicates whether Authorization credentials are required for the request
* @default true
Expand Down Expand Up @@ -78,10 +74,6 @@ export function customerServiceHeader(options: ISwaggerOptions) {
* display error message
*/
showError?: boolean;
/**
* data security, extended fields are encrypted using the specified algorithm
*/
security?: Record<string, 'md5' | 'sha1' | 'aes' | 'des'>;
/**
* indicates whether Authorization credentials are required for the request
* @default true
Expand Down

0 comments on commit e08649e

Please sign in to comment.