Skip to main content
Version: 3.0

BackendVariable 全局变量

结构声明

interface BackendVariable {
"concept": "BackendVariable", // 产品概念
"name": string, // 全局变量名称
"description": string, // 全局变量描述
"typeAnnotation": TypeAnnotation, // 类型
"defaultValue": string, // 默认值
"scope": "request" | "applicaion", // 作用域
}

示例

简单示例

{
"concept": "BackendVariable",
"name": "param1",
"description": "",
"typeAnnotation": null,
"defaultValue": null,
"scope": "request"
}