1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
|
<?php return [
'version' => '1.0',
'info' => [
'style' => 'RPC',
'product' => 'eds-user',
'version' => '2021-06-22',
],
'components' => [
'schemas' => [],
],
'apis' => [
'GetUserByToken' => [
'methods' => [
'get',
'post',
],
'schemes' => [
'http',
'https',
],
'security' => [
[
'AK' => [],
],
],
'deprecated' => false,
'parameters' => [
[
'name' => 'Token',
'in' => 'formData',
'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',
],
],
];
|