diff --git a/app/Http/Controllers/Api/ApplicationsController.php b/app/Http/Controllers/Api/ApplicationsController.php index 92c5f04a2..3b6f67b1f 100644 --- a/app/Http/Controllers/Api/ApplicationsController.php +++ b/app/Http/Controllers/Api/ApplicationsController.php @@ -1718,7 +1718,6 @@ private function create_application(Request $request, $type) required: true, schema: new OA\Schema( type: 'string', - format: 'uuid', ) ), ], @@ -1786,7 +1785,6 @@ public function application_by_uuid(Request $request) required: true, schema: new OA\Schema( type: 'string', - format: 'uuid', ) ), new OA\Parameter( @@ -1888,7 +1886,6 @@ public function logs_by_uuid(Request $request) required: true, schema: new OA\Schema( type: 'string', - format: 'uuid', ) ), new OA\Parameter(name: 'delete_configurations', in: 'query', required: false, description: 'Delete configurations.', schema: new OA\Schema(type: 'boolean', default: true)), @@ -1975,7 +1972,6 @@ public function delete_by_uuid(Request $request) required: true, schema: new OA\Schema( type: 'string', - format: 'uuid', ) ), ], @@ -2386,7 +2382,6 @@ public function update_by_uuid(Request $request) required: true, schema: new OA\Schema( type: 'string', - format: 'uuid', ) ), ], @@ -2472,7 +2467,6 @@ public function envs(Request $request) required: true, schema: new OA\Schema( type: 'string', - format: 'uuid', ) ), ], @@ -2662,7 +2656,6 @@ public function update_env_by_uuid(Request $request) required: true, schema: new OA\Schema( type: 'string', - format: 'uuid', ) ), ], @@ -2872,7 +2865,6 @@ public function create_bulk_envs(Request $request) required: true, schema: new OA\Schema( type: 'string', - format: 'uuid', ) ), ], @@ -3038,7 +3030,6 @@ public function create_env(Request $request) required: true, schema: new OA\Schema( type: 'string', - format: 'uuid', ) ), new OA\Parameter( @@ -3048,7 +3039,6 @@ public function create_env(Request $request) required: true, schema: new OA\Schema( type: 'string', - format: 'uuid', ) ), ], @@ -3131,7 +3121,6 @@ public function delete_env_by_uuid(Request $request) required: true, schema: new OA\Schema( type: 'string', - format: 'uuid', ) ), new OA\Parameter( @@ -3247,7 +3236,6 @@ public function action_deploy(Request $request) required: true, schema: new OA\Schema( type: 'string', - format: 'uuid', ) ), ], @@ -3324,7 +3312,6 @@ public function action_stop(Request $request) required: true, schema: new OA\Schema( type: 'string', - format: 'uuid', ) ), ], diff --git a/app/Http/Controllers/Api/CloudProviderTokensController.php b/app/Http/Controllers/Api/CloudProviderTokensController.php index 5a03fe59a..5be82a31c 100644 --- a/app/Http/Controllers/Api/CloudProviderTokensController.php +++ b/app/Http/Controllers/Api/CloudProviderTokensController.php @@ -411,7 +411,6 @@ public function update(Request $request) required: true, schema: new OA\Schema( type: 'string', - format: 'uuid', ) ), ], diff --git a/app/Http/Controllers/Api/DatabasesController.php b/app/Http/Controllers/Api/DatabasesController.php index 0d38b7363..c8e68b1e6 100644 --- a/app/Http/Controllers/Api/DatabasesController.php +++ b/app/Http/Controllers/Api/DatabasesController.php @@ -117,7 +117,6 @@ public function databases(Request $request) required: true, schema: new OA\Schema( type: 'string', - format: 'uuid', ) ), ], @@ -182,7 +181,6 @@ public function database_backup_details_uuid(Request $request) required: true, schema: new OA\Schema( type: 'string', - format: 'uuid', ) ), ], @@ -245,7 +243,6 @@ public function database_by_uuid(Request $request) required: true, schema: new OA\Schema( type: 'string', - format: 'uuid', ) ), ], @@ -614,7 +611,6 @@ public function update_by_uuid(Request $request) required: true, schema: new OA\Schema( type: 'string', - format: 'uuid', ) ), ], @@ -832,7 +828,6 @@ public function create_backup(Request $request) required: true, schema: new OA\Schema( type: 'string', - format: 'uuid', ) ), new OA\Parameter( @@ -842,7 +837,6 @@ public function create_backup(Request $request) required: true, schema: new OA\Schema( type: 'string', - format: 'uuid', ) ), ], @@ -2104,7 +2098,6 @@ public function create_database(Request $request, NewDatabaseTypes $type) required: true, schema: new OA\Schema( type: 'string', - format: 'uuid', ) ), new OA\Parameter(name: 'delete_configurations', in: 'query', required: false, description: 'Delete configurations.', schema: new OA\Schema(type: 'boolean', default: true)), @@ -2193,7 +2186,7 @@ public function delete_by_uuid(Request $request) in: 'path', required: true, description: 'UUID of the backup configuration to delete', - schema: new OA\Schema(type: 'string', format: 'uuid') + schema: new OA\Schema(type: 'string') ), new OA\Parameter( name: 'delete_s3', @@ -2310,14 +2303,14 @@ public function delete_backup_by_uuid(Request $request) in: 'path', required: true, description: 'UUID of the backup configuration', - schema: new OA\Schema(type: 'string', format: 'uuid') + schema: new OA\Schema(type: 'string') ), new OA\Parameter( name: 'execution_uuid', in: 'path', required: true, description: 'UUID of the backup execution to delete', - schema: new OA\Schema(type: 'string', format: 'uuid') + schema: new OA\Schema(type: 'string') ), new OA\Parameter( name: 'delete_s3', @@ -2430,7 +2423,7 @@ public function delete_execution_by_uuid(Request $request) in: 'path', required: true, description: 'UUID of the backup configuration', - schema: new OA\Schema(type: 'string', format: 'uuid') + schema: new OA\Schema(type: 'string') ), ], responses: [ @@ -2527,7 +2520,6 @@ public function list_backup_executions(Request $request) required: true, schema: new OA\Schema( type: 'string', - format: 'uuid', ) ), ], @@ -2608,7 +2600,6 @@ public function action_deploy(Request $request) required: true, schema: new OA\Schema( type: 'string', - format: 'uuid', ) ), ], @@ -2689,7 +2680,6 @@ public function action_stop(Request $request) required: true, schema: new OA\Schema( type: 'string', - format: 'uuid', ) ), ], diff --git a/app/Http/Controllers/Api/DeployController.php b/app/Http/Controllers/Api/DeployController.php index 136fcf557..baff3ec4f 100644 --- a/app/Http/Controllers/Api/DeployController.php +++ b/app/Http/Controllers/Api/DeployController.php @@ -538,7 +538,6 @@ public function deploy_resource($resource, bool $force = false, int $pr = 0): ar required: true, schema: new OA\Schema( type: 'string', - format: 'uuid', ) ), new OA\Parameter( diff --git a/app/Http/Controllers/Api/ProjectController.php b/app/Http/Controllers/Api/ProjectController.php index 951a1f5d9..da553a68c 100644 --- a/app/Http/Controllers/Api/ProjectController.php +++ b/app/Http/Controllers/Api/ProjectController.php @@ -285,7 +285,6 @@ public function create_project(Request $request) required: true, schema: new OA\Schema( type: 'string', - format: 'uuid', ) ), ], @@ -406,7 +405,6 @@ public function update_project(Request $request) required: true, schema: new OA\Schema( type: 'string', - format: 'uuid', ) ), ], diff --git a/app/Http/Controllers/Api/ServersController.php b/app/Http/Controllers/Api/ServersController.php index 06baf2dde..2ee5455b6 100644 --- a/app/Http/Controllers/Api/ServersController.php +++ b/app/Http/Controllers/Api/ServersController.php @@ -699,7 +699,6 @@ public function update_server(Request $request) required: true, schema: new OA\Schema( type: 'string', - format: 'uuid', ) ), ], diff --git a/app/Http/Controllers/Api/ServicesController.php b/app/Http/Controllers/Api/ServicesController.php index 587f49fa5..6a00818aa 100644 --- a/app/Http/Controllers/Api/ServicesController.php +++ b/app/Http/Controllers/Api/ServicesController.php @@ -681,7 +681,6 @@ public function delete_by_uuid(Request $request) required: true, schema: new OA\Schema( type: 'string', - format: 'uuid', ) ), ], @@ -871,7 +870,6 @@ public function update_by_uuid(Request $request) required: true, schema: new OA\Schema( type: 'string', - format: 'uuid', ) ), ], @@ -952,7 +950,6 @@ public function envs(Request $request) required: true, schema: new OA\Schema( type: 'string', - format: 'uuid', ) ), ], @@ -1069,7 +1066,6 @@ public function update_env_by_uuid(Request $request) required: true, schema: new OA\Schema( type: 'string', - format: 'uuid', ) ), ], @@ -1200,7 +1196,6 @@ public function create_bulk_envs(Request $request) required: true, schema: new OA\Schema( type: 'string', - format: 'uuid', ) ), ], @@ -1315,7 +1310,6 @@ public function create_env(Request $request) required: true, schema: new OA\Schema( type: 'string', - format: 'uuid', ) ), new OA\Parameter( @@ -1325,7 +1319,6 @@ public function create_env(Request $request) required: true, schema: new OA\Schema( type: 'string', - format: 'uuid', ) ), ], @@ -1404,7 +1397,6 @@ public function delete_env_by_uuid(Request $request) required: true, schema: new OA\Schema( type: 'string', - format: 'uuid', ) ), ], @@ -1485,7 +1477,6 @@ public function action_deploy(Request $request) required: true, schema: new OA\Schema( type: 'string', - format: 'uuid', ) ), ], @@ -1566,7 +1557,6 @@ public function action_stop(Request $request) required: true, schema: new OA\Schema( type: 'string', - format: 'uuid', ) ), new OA\Parameter( diff --git a/openapi.json b/openapi.json index fe8ca863e..096726cd5 100644 --- a/openapi.json +++ b/openapi.json @@ -2134,8 +2134,7 @@ "description": "UUID of the application.", "required": true, "schema": { - "type": "string", - "format": "uuid" + "type": "string" } } ], @@ -2180,8 +2179,7 @@ "description": "UUID of the application.", "required": true, "schema": { - "type": "string", - "format": "uuid" + "type": "string" } }, { @@ -2272,8 +2270,7 @@ "description": "UUID of the application.", "required": true, "schema": { - "type": "string", - "format": "uuid" + "type": "string" } } ], @@ -2661,8 +2658,7 @@ "description": "UUID of the application.", "required": true, "schema": { - "type": "string", - "format": "uuid" + "type": "string" } }, { @@ -2725,8 +2721,7 @@ "description": "UUID of the application.", "required": true, "schema": { - "type": "string", - "format": "uuid" + "type": "string" } } ], @@ -2774,8 +2769,7 @@ "description": "UUID of the application.", "required": true, "schema": { - "type": "string", - "format": "uuid" + "type": "string" } } ], @@ -2863,8 +2857,7 @@ "description": "UUID of the application.", "required": true, "schema": { - "type": "string", - "format": "uuid" + "type": "string" } } ], @@ -2958,8 +2951,7 @@ "description": "UUID of the application.", "required": true, "schema": { - "type": "string", - "format": "uuid" + "type": "string" } } ], @@ -3060,8 +3052,7 @@ "description": "UUID of the application.", "required": true, "schema": { - "type": "string", - "format": "uuid" + "type": "string" } }, { @@ -3070,8 +3061,7 @@ "description": "UUID of the environment variable.", "required": true, "schema": { - "type": "string", - "format": "uuid" + "type": "string" } } ], @@ -3124,8 +3114,7 @@ "description": "UUID of the application.", "required": true, "schema": { - "type": "string", - "format": "uuid" + "type": "string" } }, { @@ -3202,8 +3191,7 @@ "description": "UUID of the application.", "required": true, "schema": { - "type": "string", - "format": "uuid" + "type": "string" } } ], @@ -3256,8 +3244,7 @@ "description": "UUID of the application.", "required": true, "schema": { - "type": "string", - "format": "uuid" + "type": "string" } } ], @@ -3521,8 +3508,7 @@ "description": "UUID of the cloud provider token.", "required": true, "schema": { - "type": "string", - "format": "uuid" + "type": "string" } } ], @@ -3730,8 +3716,7 @@ "description": "UUID of the database.", "required": true, "schema": { - "type": "string", - "format": "uuid" + "type": "string" } } ], @@ -3777,8 +3762,7 @@ "description": "UUID of the database.", "required": true, "schema": { - "type": "string", - "format": "uuid" + "type": "string" } } ], @@ -3910,8 +3894,7 @@ "description": "UUID of the database.", "required": true, "schema": { - "type": "string", - "format": "uuid" + "type": "string" } } ], @@ -3957,8 +3940,7 @@ "description": "UUID of the database.", "required": true, "schema": { - "type": "string", - "format": "uuid" + "type": "string" } }, { @@ -4049,8 +4031,7 @@ "description": "UUID of the database.", "required": true, "schema": { - "type": "string", - "format": "uuid" + "type": "string" } } ], @@ -4271,8 +4252,7 @@ "description": "UUID of the backup configuration to delete", "required": true, "schema": { - "type": "string", - "format": "uuid" + "type": "string" } }, { @@ -4340,8 +4320,7 @@ "description": "UUID of the database.", "required": true, "schema": { - "type": "string", - "format": "uuid" + "type": "string" } }, { @@ -4350,8 +4329,7 @@ "description": "UUID of the backup configuration.", "required": true, "schema": { - "type": "string", - "format": "uuid" + "type": "string" } } ], @@ -5528,8 +5506,7 @@ "description": "UUID of the backup configuration", "required": true, "schema": { - "type": "string", - "format": "uuid" + "type": "string" } }, { @@ -5538,8 +5515,7 @@ "description": "UUID of the backup execution to delete", "required": true, "schema": { - "type": "string", - "format": "uuid" + "type": "string" } }, { @@ -5618,8 +5594,7 @@ "description": "UUID of the backup configuration", "required": true, "schema": { - "type": "string", - "format": "uuid" + "type": "string" } } ], @@ -5688,8 +5663,7 @@ "description": "UUID of the database.", "required": true, "schema": { - "type": "string", - "format": "uuid" + "type": "string" } } ], @@ -5742,8 +5716,7 @@ "description": "UUID of the database.", "required": true, "schema": { - "type": "string", - "format": "uuid" + "type": "string" } } ], @@ -5796,8 +5769,7 @@ "description": "UUID of the database.", "required": true, "schema": { - "type": "string", - "format": "uuid" + "type": "string" } } ], @@ -6109,8 +6081,7 @@ "description": "UUID of the application.", "required": true, "schema": { - "type": "string", - "format": "uuid" + "type": "string" } }, { @@ -7522,8 +7493,7 @@ "description": "UUID of the application.", "required": true, "schema": { - "type": "string", - "format": "uuid" + "type": "string" } } ], @@ -7577,8 +7547,7 @@ "description": "UUID of the project.", "required": true, "schema": { - "type": "string", - "format": "uuid" + "type": "string" } } ], @@ -8415,8 +8384,7 @@ "description": "UUID of the server.", "required": true, "schema": { - "type": "string", - "format": "uuid" + "type": "string" } } ], @@ -9126,8 +9094,7 @@ "description": "UUID of the service.", "required": true, "schema": { - "type": "string", - "format": "uuid" + "type": "string" } } ], @@ -9244,8 +9211,7 @@ "description": "UUID of the service.", "required": true, "schema": { - "type": "string", - "format": "uuid" + "type": "string" } } ], @@ -9293,8 +9259,7 @@ "description": "UUID of the service.", "required": true, "schema": { - "type": "string", - "format": "uuid" + "type": "string" } } ], @@ -9385,8 +9350,7 @@ "description": "UUID of the service.", "required": true, "schema": { - "type": "string", - "format": "uuid" + "type": "string" } } ], @@ -9483,8 +9447,7 @@ "description": "UUID of the service.", "required": true, "schema": { - "type": "string", - "format": "uuid" + "type": "string" } } ], @@ -9588,8 +9551,7 @@ "description": "UUID of the service.", "required": true, "schema": { - "type": "string", - "format": "uuid" + "type": "string" } }, { @@ -9598,8 +9560,7 @@ "description": "UUID of the environment variable.", "required": true, "schema": { - "type": "string", - "format": "uuid" + "type": "string" } } ], @@ -9652,8 +9613,7 @@ "description": "UUID of the service.", "required": true, "schema": { - "type": "string", - "format": "uuid" + "type": "string" } } ], @@ -9706,8 +9666,7 @@ "description": "UUID of the service.", "required": true, "schema": { - "type": "string", - "format": "uuid" + "type": "string" } } ], @@ -9760,8 +9719,7 @@ "description": "UUID of the service.", "required": true, "schema": { - "type": "string", - "format": "uuid" + "type": "string" } }, { diff --git a/openapi.yaml b/openapi.yaml index a7faa8c72..7439d6f55 100644 --- a/openapi.yaml +++ b/openapi.yaml @@ -1360,7 +1360,6 @@ paths: required: true schema: type: string - format: uuid responses: '200': description: 'Get application by UUID.' @@ -1391,7 +1390,6 @@ paths: required: true schema: type: string - format: uuid - name: delete_configurations in: query @@ -1456,7 +1454,6 @@ paths: required: true schema: type: string - format: uuid requestBody: description: 'Application updated.' required: true @@ -1705,7 +1702,6 @@ paths: required: true schema: type: string - format: uuid - name: lines in: query @@ -1748,7 +1744,6 @@ paths: required: true schema: type: string - format: uuid responses: '200': description: 'All environment variables by application UUID.' @@ -1781,7 +1776,6 @@ paths: required: true schema: type: string - format: uuid requestBody: description: 'Env created.' required: true @@ -1840,7 +1834,6 @@ paths: required: true schema: type: string - format: uuid requestBody: description: 'Env updated.' required: true @@ -1903,7 +1896,6 @@ paths: required: true schema: type: string - format: uuid requestBody: description: 'Bulk envs updated.' required: true @@ -1950,7 +1942,6 @@ paths: required: true schema: type: string - format: uuid - name: env_uuid in: path @@ -1958,7 +1949,6 @@ paths: required: true schema: type: string - format: uuid responses: '200': description: 'Environment variable deleted.' @@ -1992,7 +1982,6 @@ paths: required: true schema: type: string - format: uuid - name: force in: query @@ -2041,7 +2030,6 @@ paths: required: true schema: type: string - format: uuid responses: '200': description: 'Stop application.' @@ -2075,7 +2063,6 @@ paths: required: true schema: type: string - format: uuid responses: '200': description: 'Restart application.' @@ -2219,7 +2206,6 @@ paths: required: true schema: type: string - format: uuid responses: '200': description: 'Cloud provider token deleted.' @@ -2350,7 +2336,6 @@ paths: required: true schema: type: string - format: uuid responses: '200': description: 'Get all backups for a database' @@ -2382,7 +2367,6 @@ paths: required: true schema: type: string - format: uuid requestBody: description: 'Backup configuration data' required: true @@ -2471,7 +2455,6 @@ paths: required: true schema: type: string - format: uuid responses: '200': description: 'Get all databases' @@ -2503,7 +2486,6 @@ paths: required: true schema: type: string - format: uuid - name: delete_configurations in: query @@ -2568,7 +2550,6 @@ paths: required: true schema: type: string - format: uuid requestBody: description: 'Database data' required: true @@ -2730,7 +2711,6 @@ paths: required: true schema: type: string - format: uuid - name: delete_s3 in: query @@ -2773,7 +2753,6 @@ paths: required: true schema: type: string - format: uuid - name: scheduled_backup_uuid in: path @@ -2781,7 +2760,6 @@ paths: required: true schema: type: string - format: uuid requestBody: description: 'Database backup configuration data' required: true @@ -3628,7 +3606,6 @@ paths: required: true schema: type: string - format: uuid - name: execution_uuid in: path @@ -3636,7 +3613,6 @@ paths: required: true schema: type: string - format: uuid - name: delete_s3 in: query @@ -3687,7 +3663,6 @@ paths: required: true schema: type: string - format: uuid responses: '200': description: 'List of backup executions' @@ -3717,7 +3692,6 @@ paths: required: true schema: type: string - format: uuid responses: '200': description: 'Start database.' @@ -3751,7 +3725,6 @@ paths: required: true schema: type: string - format: uuid responses: '200': description: 'Stop database.' @@ -3785,7 +3758,6 @@ paths: required: true schema: type: string - format: uuid responses: '200': description: 'Restart database.' @@ -3970,7 +3942,6 @@ paths: required: true schema: type: string - format: uuid - name: skip in: query @@ -4777,7 +4748,6 @@ paths: required: true schema: type: string - format: uuid responses: '200': description: 'Project deleted.' @@ -4812,7 +4782,6 @@ paths: required: true schema: type: string - format: uuid requestBody: description: 'Project updated.' required: true @@ -5348,7 +5317,6 @@ paths: required: true schema: type: string - format: uuid responses: '200': description: 'Server deleted.' @@ -5739,7 +5707,6 @@ paths: required: true schema: type: string - format: uuid requestBody: description: 'Service updated.' required: true @@ -5815,7 +5782,6 @@ paths: required: true schema: type: string - format: uuid responses: '200': description: 'All environment variables by service UUID.' @@ -5848,7 +5814,6 @@ paths: required: true schema: type: string - format: uuid requestBody: description: 'Env created.' required: true @@ -5909,7 +5874,6 @@ paths: required: true schema: type: string - format: uuid requestBody: description: 'Env updated.' required: true @@ -5974,7 +5938,6 @@ paths: required: true schema: type: string - format: uuid requestBody: description: 'Bulk envs updated.' required: true @@ -6023,7 +5986,6 @@ paths: required: true schema: type: string - format: uuid - name: env_uuid in: path @@ -6031,7 +5993,6 @@ paths: required: true schema: type: string - format: uuid responses: '200': description: 'Environment variable deleted.' @@ -6065,7 +6026,6 @@ paths: required: true schema: type: string - format: uuid responses: '200': description: 'Start service.' @@ -6099,7 +6059,6 @@ paths: required: true schema: type: string - format: uuid responses: '200': description: 'Stop service.' @@ -6133,7 +6092,6 @@ paths: required: true schema: type: string - format: uuid - name: latest in: query