diff options
Diffstat (limited to 'data/osssddp')
| -rw-r--r-- | data/osssddp/2024-02-22/api-docs.php | 54 |
1 files changed, 14 insertions, 40 deletions
diff --git a/data/osssddp/2024-02-22/api-docs.php b/data/osssddp/2024-02-22/api-docs.php index dedd877..dc91050 100644 --- a/data/osssddp/2024-02-22/api-docs.php +++ b/data/osssddp/2024-02-22/api-docs.php @@ -1,22 +1,13 @@ <?php return [ 'version' => '1.0', - 'info' => [ - 'style' => 'RPC', - 'product' => 'OssSddp', - 'version' => '2024-02-22', - ], + 'info' => ['style' => 'RPC', 'product' => 'OssSddp', 'version' => '2024-02-22'], 'components' => [ 'schemas' => [], ], 'apis' => [ - 'UpgradeSddpVersion' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'https', - ], + 'GetSddpVersion' => [ + 'methods' => ['get', 'post'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], @@ -27,32 +18,13 @@ [ 'name' => 'ClientToken', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], - ], - [ - 'name' => 'OssVersion', - 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'minimum' => '0', - 'maximum' => '2', - ], + 'schema' => ['type' => 'string', 'required' => false], ], ], ], - 'GetSddpVersion' => [ - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'https', - ], + 'UpgradeSddpVersion' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], @@ -63,10 +35,12 @@ [ 'name' => 'ClientToken', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'OssVersion', + 'in' => 'query', + 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false, 'minimum' => '0', 'maximum' => '2'], ], ], ], |
