From f1e5b61970fdb24f0e085560de70cd81b05be6b7 Mon Sep 17 00:00:00 2001 From: Andras Bacsai Date: Tue, 23 Jul 2024 14:36:44 +0200 Subject: [PATCH] feat: update API endpoint summaries --- app/Http/Controllers/Api/ProjectController.php | 4 ++-- app/Http/Controllers/Api/ServersController.php | 4 ++-- openapi.yaml | 8 ++++---- 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/app/Http/Controllers/Api/ProjectController.php b/app/Http/Controllers/Api/ProjectController.php index 1de8126d9..8316d5e82 100644 --- a/app/Http/Controllers/Api/ProjectController.php +++ b/app/Http/Controllers/Api/ProjectController.php @@ -152,7 +152,7 @@ public function environment_details(Request $request) } #[OA\Post( - summary: 'Create Project', + summary: 'Create', description: 'Create Project.', path: '/projects', security: [ @@ -247,7 +247,7 @@ public function create_project(Request $request) } #[OA\Patch( - summary: 'Update Project', + summary: 'Update', description: 'Update Project.', path: '/projects/{uuid}', security: [ diff --git a/app/Http/Controllers/Api/ServersController.php b/app/Http/Controllers/Api/ServersController.php index b3c429270..fa159077d 100644 --- a/app/Http/Controllers/Api/ServersController.php +++ b/app/Http/Controllers/Api/ServersController.php @@ -398,7 +398,7 @@ public function domains_by_server(Request $request) } #[OA\Post( - summary: 'Create Server', + summary: 'Create', description: 'Create Server.', path: '/servers', security: [ @@ -542,7 +542,7 @@ public function create_server(Request $request) } #[OA\Patch( - summary: 'Update Server', + summary: 'Update', description: 'Update Server.', path: '/servers/{uuid}', security: [ diff --git a/openapi.yaml b/openapi.yaml index 92d6147cb..a63f830b7 100644 --- a/openapi.yaml +++ b/openapi.yaml @@ -3013,7 +3013,7 @@ paths: post: tags: - Projects - summary: 'Create Project' + summary: Create description: 'Create Project.' operationId: cf067eb7cf18216cda3239329a2eeadb requestBody: @@ -3115,7 +3115,7 @@ paths: patch: tags: - Projects - summary: 'Update Project' + summary: Update description: 'Update Project.' operationId: 2db343bd6fc14c658cb51a2b73b2f842 requestBody: @@ -3402,7 +3402,7 @@ paths: post: tags: - Servers - summary: 'Create Server' + summary: Create description: 'Create Server.' operationId: fa44b42490379e428ba5b8747716a8d9 requestBody: @@ -3530,7 +3530,7 @@ paths: patch: tags: - Servers - summary: 'Update Server' + summary: Update description: 'Update Server.' operationId: 41bbdaf79eb1938592494fc5494442a0 requestBody: