Skip to main content
Version: 3.4

InterfaceParam 接口参数

1. 结构声明

class InterfaceParam extends BaseNode {
name: string = '';
description: string;
typeAnnotation: TypeAnnotation;
in: 'query' | 'path' | 'body' | 'header' | 'cookie';
required: boolean;
defaultValue: DefaultValue;
}