CallAuthInterface 调用接口
结构声明
- TS Declaration
- Java Class
- JSON Schema
interface CallAuthInterface {
"concept": "CallAuthInterface", // 产品概念
"authArguments": Array<Argument>, // 鉴权逻辑所需参数
}
class CallAuthInterfaceTreeNode {
ConceptEnum concept; // 产品概念
List<ArgumentTreeNode> authArguments; // 鉴权逻辑所需参数
}
{
"$schema": "http://json-schema.org/draft-07/schema#",
"$ref": "#/definitions/CallAuthInterface",
"definitions": {
"CallAuthInterface": {
"type": "object",
"properties": {
"concept": {
"type": "string",
"const": "CallAuthInterface"
},
"authArguments": {
"type": "array",
"items": {
"$ref": "#/definitions/Argument"
}
}
},
"required": [
"concept",
"authArguments"
],
"additionalProperties": false
}
}
}
示例
简单示例
- JSON
- YAML
{
"concept": "CallAuthInterface",
"authArguments": []
}
concept: CallAuthInterface
authArguments: []