diff options
Diffstat (limited to 'data/multimodaldialog')
| -rw-r--r-- | data/multimodaldialog/2025-09-03/api-docs.php | 62 |
1 files changed, 13 insertions, 49 deletions
diff --git a/data/multimodaldialog/2025-09-03/api-docs.php b/data/multimodaldialog/2025-09-03/api-docs.php index e9a63b5..85713be 100644 --- a/data/multimodaldialog/2025-09-03/api-docs.php +++ b/data/multimodaldialog/2025-09-03/api-docs.php @@ -1,33 +1,21 @@ <?php return [ 'version' => '1.0', - 'info' => [ - 'style' => 'ROA', - 'product' => 'MultimodalDialog', - 'version' => '2025-09-03', - ], + 'info' => ['style' => 'ROA', 'product' => 'MultimodalDialog', 'version' => '2025-09-03'], 'components' => [ 'schemas' => [], ], 'apis' => [ 'Vocabulary' => [ 'path' => '/openapi/vocabulary/v1', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'https', - ], + 'methods' => ['post'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ @@ -38,14 +26,8 @@ 'type' => 'object', 'required' => false, 'properties' => [ - 'action' => [ - 'type' => 'string', - 'required' => false, - ], - 'vocabularyName' => [ - 'type' => 'string', - 'required' => false, - ], + 'action' => ['type' => 'string', 'required' => false], + 'vocabularyName' => ['type' => 'string', 'required' => false], 'vocabulary' => [ 'type' => 'array', 'required' => false, @@ -53,32 +35,17 @@ 'type' => 'object', 'required' => false, 'properties' => [ - 'text' => [ - 'type' => 'string', - 'required' => false, - ], - 'lang' => [ - 'type' => 'string', - 'required' => false, - ], - 'type' => [ - 'type' => 'string', - 'required' => false, - ], + 'text' => ['type' => 'string', 'required' => false], + 'lang' => ['type' => 'string', 'required' => false], + 'type' => ['type' => 'string', 'required' => false], ], ], ], - 'vocabularyId' => [ - 'type' => 'string', - 'required' => false, - ], + 'vocabularyId' => ['type' => 'string', 'required' => false], 'vocabularyIds' => [ 'type' => 'array', 'required' => false, - 'items' => [ - 'type' => 'string', - 'required' => false, - ], + 'items' => ['type' => 'string', 'required' => false], ], ], ], @@ -87,9 +54,6 @@ ], ], 'endpoints' => [ - [ - 'regionId' => 'cn-beijing', - 'endpoint' => 'multimodaldialog.cn-beijing.aliyuncs.com', - ], + ['regionId' => 'cn-beijing', 'regionName' => '华北2(北京)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'multimodaldialog.cn-beijing.aliyuncs.com', 'endpoint' => 'multimodaldialog.cn-beijing.aliyuncs.com', 'vpc' => 'multimodaldialog-vpc.cn-beijing.aliyuncs.com'], ], ]; |
