fix(docs): remove incorrect uuid format in openapi spec (#7419)

Co-authored-by: 🏔️ Peak <122374094+peaklabs-dev@users.noreply.github.com>
This commit is contained in:
Muhammed Mustafa AKŞAM
2026-01-04 18:16:19 +03:00
committed by GitHub
parent dc6ef3d231
commit 9b6d1613ed
9 changed files with 46 additions and 168 deletions

View File

@@ -1718,7 +1718,6 @@ class ApplicationsController extends Controller
required: true,
schema: new OA\Schema(
type: 'string',
format: 'uuid',
)
),
],
@@ -1786,7 +1785,6 @@ class ApplicationsController extends Controller
required: true,
schema: new OA\Schema(
type: 'string',
format: 'uuid',
)
),
new OA\Parameter(
@@ -1888,7 +1886,6 @@ class ApplicationsController extends Controller
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 @@ class ApplicationsController extends Controller
required: true,
schema: new OA\Schema(
type: 'string',
format: 'uuid',
)
),
],
@@ -2386,7 +2382,6 @@ class ApplicationsController extends Controller
required: true,
schema: new OA\Schema(
type: 'string',
format: 'uuid',
)
),
],
@@ -2472,7 +2467,6 @@ class ApplicationsController extends Controller
required: true,
schema: new OA\Schema(
type: 'string',
format: 'uuid',
)
),
],
@@ -2662,7 +2656,6 @@ class ApplicationsController extends Controller
required: true,
schema: new OA\Schema(
type: 'string',
format: 'uuid',
)
),
],
@@ -2872,7 +2865,6 @@ class ApplicationsController extends Controller
required: true,
schema: new OA\Schema(
type: 'string',
format: 'uuid',
)
),
],
@@ -3038,7 +3030,6 @@ class ApplicationsController extends Controller
required: true,
schema: new OA\Schema(
type: 'string',
format: 'uuid',
)
),
new OA\Parameter(
@@ -3048,7 +3039,6 @@ class ApplicationsController extends Controller
required: true,
schema: new OA\Schema(
type: 'string',
format: 'uuid',
)
),
],
@@ -3131,7 +3121,6 @@ class ApplicationsController extends Controller
required: true,
schema: new OA\Schema(
type: 'string',
format: 'uuid',
)
),
new OA\Parameter(
@@ -3247,7 +3236,6 @@ class ApplicationsController extends Controller
required: true,
schema: new OA\Schema(
type: 'string',
format: 'uuid',
)
),
],
@@ -3324,7 +3312,6 @@ class ApplicationsController extends Controller
required: true,
schema: new OA\Schema(
type: 'string',
format: 'uuid',
)
),
],

View File

@@ -411,7 +411,6 @@ class CloudProviderTokensController extends Controller
required: true,
schema: new OA\Schema(
type: 'string',
format: 'uuid',
)
),
],

View File

@@ -117,7 +117,6 @@ class DatabasesController extends Controller
required: true,
schema: new OA\Schema(
type: 'string',
format: 'uuid',
)
),
],
@@ -182,7 +181,6 @@ class DatabasesController extends Controller
required: true,
schema: new OA\Schema(
type: 'string',
format: 'uuid',
)
),
],
@@ -245,7 +243,6 @@ class DatabasesController extends Controller
required: true,
schema: new OA\Schema(
type: 'string',
format: 'uuid',
)
),
],
@@ -614,7 +611,6 @@ class DatabasesController extends Controller
required: true,
schema: new OA\Schema(
type: 'string',
format: 'uuid',
)
),
],
@@ -832,7 +828,6 @@ class DatabasesController extends Controller
required: true,
schema: new OA\Schema(
type: 'string',
format: 'uuid',
)
),
new OA\Parameter(
@@ -842,7 +837,6 @@ class DatabasesController extends Controller
required: true,
schema: new OA\Schema(
type: 'string',
format: 'uuid',
)
),
],
@@ -2104,7 +2098,6 @@ class DatabasesController extends Controller
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 @@ class DatabasesController extends Controller
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 @@ class DatabasesController extends Controller
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 @@ class DatabasesController extends Controller
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 @@ class DatabasesController extends Controller
required: true,
schema: new OA\Schema(
type: 'string',
format: 'uuid',
)
),
],
@@ -2608,7 +2600,6 @@ class DatabasesController extends Controller
required: true,
schema: new OA\Schema(
type: 'string',
format: 'uuid',
)
),
],
@@ -2689,7 +2680,6 @@ class DatabasesController extends Controller
required: true,
schema: new OA\Schema(
type: 'string',
format: 'uuid',
)
),
],

View File

@@ -538,7 +538,6 @@ class DeployController extends Controller
required: true,
schema: new OA\Schema(
type: 'string',
format: 'uuid',
)
),
new OA\Parameter(

View File

@@ -285,7 +285,6 @@ class ProjectController extends Controller
required: true,
schema: new OA\Schema(
type: 'string',
format: 'uuid',
)
),
],
@@ -406,7 +405,6 @@ class ProjectController extends Controller
required: true,
schema: new OA\Schema(
type: 'string',
format: 'uuid',
)
),
],

View File

@@ -699,7 +699,6 @@ class ServersController extends Controller
required: true,
schema: new OA\Schema(
type: 'string',
format: 'uuid',
)
),
],

View File

@@ -681,7 +681,6 @@ class ServicesController extends Controller
required: true,
schema: new OA\Schema(
type: 'string',
format: 'uuid',
)
),
],
@@ -871,7 +870,6 @@ class ServicesController extends Controller
required: true,
schema: new OA\Schema(
type: 'string',
format: 'uuid',
)
),
],
@@ -952,7 +950,6 @@ class ServicesController extends Controller
required: true,
schema: new OA\Schema(
type: 'string',
format: 'uuid',
)
),
],
@@ -1069,7 +1066,6 @@ class ServicesController extends Controller
required: true,
schema: new OA\Schema(
type: 'string',
format: 'uuid',
)
),
],
@@ -1200,7 +1196,6 @@ class ServicesController extends Controller
required: true,
schema: new OA\Schema(
type: 'string',
format: 'uuid',
)
),
],
@@ -1315,7 +1310,6 @@ class ServicesController extends Controller
required: true,
schema: new OA\Schema(
type: 'string',
format: 'uuid',
)
),
new OA\Parameter(
@@ -1325,7 +1319,6 @@ class ServicesController extends Controller
required: true,
schema: new OA\Schema(
type: 'string',
format: 'uuid',
)
),
],
@@ -1404,7 +1397,6 @@ class ServicesController extends Controller
required: true,
schema: new OA\Schema(
type: 'string',
format: 'uuid',
)
),
],
@@ -1485,7 +1477,6 @@ class ServicesController extends Controller
required: true,
schema: new OA\Schema(
type: 'string',
format: 'uuid',
)
),
],
@@ -1566,7 +1557,6 @@ class ServicesController extends Controller
required: true,
schema: new OA\Schema(
type: 'string',
format: 'uuid',
)
),
new OA\Parameter(

View File

@@ -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"
}
},
{

View File

@@ -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