应用与数据集成平台 ROMA Connect-附录:自定义后端的Swagger扩展定义:5.1 x-livedata-scripts.datasources
时间:2025-02-12 15:03:18
5.1 x-livedata-scripts.datasources
含义:自定义后端的数据源定义。
作用域:x-livedata-scripts
示例:
paths: '/users': get: produces: - "application/json" responses: default: description: "default response" x-livedata-scripts: - type: "function" content: "custom-script-content" result: "custom-script-result" datasource: name: "custom-datasource-name"
参数 |
是否必选 |
类型 |
说明 |
---|---|---|---|
name |
是 |
String |
数据源名称。 |
support.huaweicloud.com/usermanual-roma/apic-ug-190216028.html