diff options
Diffstat (limited to 'data/eds-user/2021-06-22/api-docs.php')
| -rw-r--r-- | data/eds-user/2021-06-22/api-docs.php | 34 |
1 files changed, 6 insertions, 28 deletions
diff --git a/data/eds-user/2021-06-22/api-docs.php b/data/eds-user/2021-06-22/api-docs.php index 2c0f40d..da255ba 100644 --- a/data/eds-user/2021-06-22/api-docs.php +++ b/data/eds-user/2021-06-22/api-docs.php @@ -1,23 +1,13 @@ <?php return [ 'version' => '1.0', - 'info' => [ - 'style' => 'RPC', - 'product' => 'eds-user', - 'version' => '2021-06-22', - ], + 'info' => ['style' => 'RPC', 'product' => 'eds-user', 'version' => '2021-06-22'], 'components' => [ 'schemas' => [], ], 'apis' => [ 'GetUserByToken' => [ - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -28,25 +18,13 @@ [ 'name' => 'Token', 'in' => 'formData', - 'schema' => [ - 'type' => 'string', - 'required' => true, - 'minimum' => '1', - 'maximum' => '100', - 'maxLength' => 9999999999999, - ], + 'schema' => ['type' => 'string', 'required' => true, 'minimum' => '1', 'maximum' => '100', 'maxLength' => 9999999999999], ], ], ], ], 'endpoints' => [ - [ - 'regionId' => 'cn-shanghai', - 'endpoint' => 'eds-user.cn-shanghai.aliyuncs.com', - ], - [ - 'regionId' => 'ap-southeast-1', - 'endpoint' => 'eds-user.ap-southeast-1.aliyuncs.com', - ], + ['regionId' => 'cn-shanghai', 'endpoint' => 'eds-user.cn-shanghai.aliyuncs.com'], + ['regionId' => 'ap-southeast-1', 'endpoint' => 'eds-user.ap-southeast-1.aliyuncs.com'], ], ]; |
