InterfaceParam 接口参数
1. 结构声明
- TS Declaration
 - JSON Schema
 
class InterfaceParam extends BaseNode {
    name: string = '';
    description?: string;
    typeAnnotation: TypeAnnotation;
    in: 'query' | 'path' | 'body' | 'header' | 'cookie';
    required?: boolean;
    defaultValue?: DefaultValue;
}
{
    "type": "object",
    "properties": {
        "composedBy": {
            "type": "array",
            "items": {
                "type": "string"
            }
        },
        "changedTime": {
            "$ref": "#/definitions/long"
        },
        "name": {
            "type": "string"
        },
        "description": {
            "type": "string"
        },
        "typeAnnotation": {
            "$ref": "#/definitions/TypeAnnotation"
        },
        "in": {
            "type": "string",
            "enum": [
                "query",
                "path",
                "body",
                "header",
                "cookie"
            ]
        },
        "required": {
            "type": "boolean"
        },
        "defaultValue": {
            "$ref": "#/definitions/DefaultValue"
        }
    },
    "required": [
        "name",
        "typeAnnotation",
        "in"
    ],
    "additionalProperties": false
}