diff --git a/app/Http/Controllers/Api/ApplicationsController.php b/app/Http/Controllers/Api/ApplicationsController.php index 856ca06873..1b6d9df5ad 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/DatabasesController.php b/app/Http/Controllers/Api/DatabasesController.php index 0d38b73637..c8e68b1e67 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 16a7b6f714..52c4f843f5 100644 --- a/app/Http/Controllers/Api/DeployController.php +++ b/app/Http/Controllers/Api/DeployController.php @@ -527,7 +527,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 951a1f5d91..da553a68c9 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 06baf2dde6..2ee5455b6f 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 587f49fa5a..6a00818aa3 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 2d87ed51be..9032b57ef3 100644 --- a/openapi.json +++ b/openapi.json @@ -2129,8 +2129,7 @@ "description": "UUID of the application.", "required": true, "schema": { - "type": "string", - "format": "uuid" + "type": "string" } } ], @@ -2175,8 +2174,7 @@ "description": "UUID of the application.", "required": true, "schema": { - "type": "string", - "format": "uuid" + "type": "string" } }, { @@ -2267,8 +2265,7 @@ "description": "UUID of the application.", "required": true, "schema": { - "type": "string", - "format": "uuid" + "type": "string" } } ], @@ -2656,8 +2653,7 @@ "description": "UUID of the application.", "required": true, "schema": { - "type": "string", - "format": "uuid" + "type": "string" } }, { @@ -2720,8 +2716,7 @@ "description": "UUID of the application.", "required": true, "schema": { - "type": "string", - "format": "uuid" + "type": "string" } } ], @@ -2769,8 +2764,7 @@ "description": "UUID of the application.", "required": true, "schema": { - "type": "string", - "format": "uuid" + "type": "string" } } ], @@ -2858,8 +2852,7 @@ "description": "UUID of the application.", "required": true, "schema": { - "type": "string", - "format": "uuid" + "type": "string" } } ], @@ -2953,8 +2946,7 @@ "description": "UUID of the application.", "required": true, "schema": { - "type": "string", - "format": "uuid" + "type": "string" } } ], @@ -3055,8 +3047,7 @@ "description": "UUID of the application.", "required": true, "schema": { - "type": "string", - "format": "uuid" + "type": "string" } }, { @@ -3065,8 +3056,7 @@ "description": "UUID of the environment variable.", "required": true, "schema": { - "type": "string", - "format": "uuid" + "type": "string" } } ], @@ -3119,8 +3109,7 @@ "description": "UUID of the application.", "required": true, "schema": { - "type": "string", - "format": "uuid" + "type": "string" } }, { @@ -3197,8 +3186,7 @@ "description": "UUID of the application.", "required": true, "schema": { - "type": "string", - "format": "uuid" + "type": "string" } } ], @@ -3251,8 +3239,7 @@ "description": "UUID of the application.", "required": true, "schema": { - "type": "string", - "format": "uuid" + "type": "string" } } ], @@ -3344,8 +3331,7 @@ "description": "UUID of the database.", "required": true, "schema": { - "type": "string", - "format": "uuid" + "type": "string" } } ], @@ -3391,8 +3377,7 @@ "description": "UUID of the database.", "required": true, "schema": { - "type": "string", - "format": "uuid" + "type": "string" } } ], @@ -3524,8 +3509,7 @@ "description": "UUID of the database.", "required": true, "schema": { - "type": "string", - "format": "uuid" + "type": "string" } } ], @@ -3571,8 +3555,7 @@ "description": "UUID of the database.", "required": true, "schema": { - "type": "string", - "format": "uuid" + "type": "string" } }, { @@ -3663,8 +3646,7 @@ "description": "UUID of the database.", "required": true, "schema": { - "type": "string", - "format": "uuid" + "type": "string" } } ], @@ -3885,8 +3867,7 @@ "description": "UUID of the backup configuration to delete", "required": true, "schema": { - "type": "string", - "format": "uuid" + "type": "string" } }, { @@ -3954,8 +3935,7 @@ "description": "UUID of the database.", "required": true, "schema": { - "type": "string", - "format": "uuid" + "type": "string" } }, { @@ -3964,8 +3944,7 @@ "description": "UUID of the backup configuration.", "required": true, "schema": { - "type": "string", - "format": "uuid" + "type": "string" } } ], @@ -5142,8 +5121,7 @@ "description": "UUID of the backup configuration", "required": true, "schema": { - "type": "string", - "format": "uuid" + "type": "string" } }, { @@ -5152,8 +5130,7 @@ "description": "UUID of the backup execution to delete", "required": true, "schema": { - "type": "string", - "format": "uuid" + "type": "string" } }, { @@ -5232,8 +5209,7 @@ "description": "UUID of the backup configuration", "required": true, "schema": { - "type": "string", - "format": "uuid" + "type": "string" } } ], @@ -5302,8 +5278,7 @@ "description": "UUID of the database.", "required": true, "schema": { - "type": "string", - "format": "uuid" + "type": "string" } } ], @@ -5356,8 +5331,7 @@ "description": "UUID of the database.", "required": true, "schema": { - "type": "string", - "format": "uuid" + "type": "string" } } ], @@ -5410,8 +5384,7 @@ "description": "UUID of the database.", "required": true, "schema": { - "type": "string", - "format": "uuid" + "type": "string" } } ], @@ -5723,8 +5696,7 @@ "description": "UUID of the application.", "required": true, "schema": { - "type": "string", - "format": "uuid" + "type": "string" } }, { @@ -6656,8 +6628,7 @@ "description": "UUID of the application.", "required": true, "schema": { - "type": "string", - "format": "uuid" + "type": "string" } } ], @@ -6711,8 +6682,7 @@ "description": "UUID of the project.", "required": true, "schema": { - "type": "string", - "format": "uuid" + "type": "string" } } ], @@ -7549,8 +7519,7 @@ "description": "UUID of the server.", "required": true, "schema": { - "type": "string", - "format": "uuid" + "type": "string" } } ], @@ -8260,8 +8229,7 @@ "description": "UUID of the service.", "required": true, "schema": { - "type": "string", - "format": "uuid" + "type": "string" } } ], @@ -8378,8 +8346,7 @@ "description": "UUID of the service.", "required": true, "schema": { - "type": "string", - "format": "uuid" + "type": "string" } } ], @@ -8427,8 +8394,7 @@ "description": "UUID of the service.", "required": true, "schema": { - "type": "string", - "format": "uuid" + "type": "string" } } ], @@ -8519,8 +8485,7 @@ "description": "UUID of the service.", "required": true, "schema": { - "type": "string", - "format": "uuid" + "type": "string" } } ], @@ -8617,8 +8582,7 @@ "description": "UUID of the service.", "required": true, "schema": { - "type": "string", - "format": "uuid" + "type": "string" } } ], @@ -8722,8 +8686,7 @@ "description": "UUID of the service.", "required": true, "schema": { - "type": "string", - "format": "uuid" + "type": "string" } }, { @@ -8732,8 +8695,7 @@ "description": "UUID of the environment variable.", "required": true, "schema": { - "type": "string", - "format": "uuid" + "type": "string" } } ], @@ -8786,8 +8748,7 @@ "description": "UUID of the service.", "required": true, "schema": { - "type": "string", - "format": "uuid" + "type": "string" } } ], @@ -8840,8 +8801,7 @@ "description": "UUID of the service.", "required": true, "schema": { - "type": "string", - "format": "uuid" + "type": "string" } } ], @@ -8894,8 +8854,7 @@ "description": "UUID of the service.", "required": true, "schema": { - "type": "string", - "format": "uuid" + "type": "string" } }, { diff --git a/openapi.yaml b/openapi.yaml index b42d5ab753..6064365a4e 100644 --- a/openapi.yaml +++ b/openapi.yaml @@ -1355,7 +1355,6 @@ paths: required: true schema: type: string - format: uuid responses: '200': description: 'Get application by UUID.' @@ -1386,7 +1385,6 @@ paths: required: true schema: type: string - format: uuid - name: delete_configurations in: query @@ -1451,7 +1449,6 @@ paths: required: true schema: type: string - format: uuid requestBody: description: 'Application updated.' required: true @@ -1700,7 +1697,6 @@ paths: required: true schema: type: string - format: uuid - name: lines in: query @@ -1743,7 +1739,6 @@ paths: required: true schema: type: string - format: uuid responses: '200': description: 'All environment variables by application UUID.' @@ -1776,7 +1771,6 @@ paths: required: true schema: type: string - format: uuid requestBody: description: 'Env created.' required: true @@ -1835,7 +1829,6 @@ paths: required: true schema: type: string - format: uuid requestBody: description: 'Env updated.' required: true @@ -1898,7 +1891,6 @@ paths: required: true schema: type: string - format: uuid requestBody: description: 'Bulk envs updated.' required: true @@ -1945,7 +1937,6 @@ paths: required: true schema: type: string - format: uuid - name: env_uuid in: path @@ -1953,7 +1944,6 @@ paths: required: true schema: type: string - format: uuid responses: '200': description: 'Environment variable deleted.' @@ -1987,7 +1977,6 @@ paths: required: true schema: type: string - format: uuid - name: force in: query @@ -2036,7 +2025,6 @@ paths: required: true schema: type: string - format: uuid responses: '200': description: 'Stop application.' @@ -2070,7 +2058,6 @@ paths: required: true schema: type: string - format: uuid responses: '200': description: 'Restart application.' @@ -2127,7 +2114,6 @@ paths: required: true schema: type: string - format: uuid responses: '200': description: 'Get all backups for a database' @@ -2159,7 +2145,6 @@ paths: required: true schema: type: string - format: uuid requestBody: description: 'Backup configuration data' required: true @@ -2248,7 +2233,6 @@ paths: required: true schema: type: string - format: uuid responses: '200': description: 'Get all databases' @@ -2280,7 +2264,6 @@ paths: required: true schema: type: string - format: uuid - name: delete_configurations in: query @@ -2345,7 +2328,6 @@ paths: required: true schema: type: string - format: uuid requestBody: description: 'Database data' required: true @@ -2507,7 +2489,6 @@ paths: required: true schema: type: string - format: uuid - name: delete_s3 in: query @@ -2550,7 +2531,6 @@ paths: required: true schema: type: string - format: uuid - name: scheduled_backup_uuid in: path @@ -2558,7 +2538,6 @@ paths: required: true schema: type: string - format: uuid requestBody: description: 'Database backup configuration data' required: true @@ -3405,7 +3384,6 @@ paths: required: true schema: type: string - format: uuid - name: execution_uuid in: path @@ -3413,7 +3391,6 @@ paths: required: true schema: type: string - format: uuid - name: delete_s3 in: query @@ -3464,7 +3441,6 @@ paths: required: true schema: type: string - format: uuid responses: '200': description: 'List of backup executions' @@ -3494,7 +3470,6 @@ paths: required: true schema: type: string - format: uuid responses: '200': description: 'Start database.' @@ -3528,7 +3503,6 @@ paths: required: true schema: type: string - format: uuid responses: '200': description: 'Stop database.' @@ -3562,7 +3536,6 @@ paths: required: true schema: type: string - format: uuid responses: '200': description: 'Restart database.' @@ -3747,7 +3720,6 @@ paths: required: true schema: type: string - format: uuid - name: skip in: query @@ -4302,7 +4274,6 @@ paths: required: true schema: type: string - format: uuid responses: '200': description: 'Project deleted.' @@ -4337,7 +4308,6 @@ paths: required: true schema: type: string - format: uuid requestBody: description: 'Project updated.' required: true @@ -4873,7 +4843,6 @@ paths: required: true schema: type: string - format: uuid responses: '200': description: 'Server deleted.' @@ -5264,7 +5233,6 @@ paths: required: true schema: type: string - format: uuid requestBody: description: 'Service updated.' required: true @@ -5340,7 +5308,6 @@ paths: required: true schema: type: string - format: uuid responses: '200': description: 'All environment variables by service UUID.' @@ -5373,7 +5340,6 @@ paths: required: true schema: type: string - format: uuid requestBody: description: 'Env created.' required: true @@ -5434,7 +5400,6 @@ paths: required: true schema: type: string - format: uuid requestBody: description: 'Env updated.' required: true @@ -5499,7 +5464,6 @@ paths: required: true schema: type: string - format: uuid requestBody: description: 'Bulk envs updated.' required: true @@ -5548,7 +5512,6 @@ paths: required: true schema: type: string - format: uuid - name: env_uuid in: path @@ -5556,7 +5519,6 @@ paths: required: true schema: type: string - format: uuid responses: '200': description: 'Environment variable deleted.' @@ -5590,7 +5552,6 @@ paths: required: true schema: type: string - format: uuid responses: '200': description: 'Start service.' @@ -5624,7 +5585,6 @@ paths: required: true schema: type: string - format: uuid responses: '200': description: 'Stop service.' @@ -5658,7 +5618,6 @@ paths: required: true schema: type: string - format: uuid - name: latest in: query