Skip to content

An open-source, self-hostable PaaS alternative to Vercel, Heroku & Netlify that lets you easily deploy static sites, databases, full-stack applications and 360+ one-click services on your own servers.

Fix API documentation for project creation endpoint

rootae4c889fa281
diff --git a/app/Http/Controllers/Api/ProjectController.php b/app/Http/Controllers/Api/ProjectController.php
index 6aec31e9b9..61bfe29769 100644
--- a/app/Http/Controllers/Api/ProjectController.php
+++ b/app/Http/Controllers/Api/ProjectController.php
@@ -167,7 +167,7 @@ class ProjectController extends Controller
schema: new OA\Schema(
type: 'object',
properties: [
- 'uuid' => ['type' => 'string', 'description' => 'The name of the project.'],
+ 'name' => ['type' => 'string', 'description' => 'The name of the project.'],
'description' => ['type' => 'string', 'description' => 'The description of the project.'],
],
),
diff --git a/openapi.yaml b/openapi.yaml
index 482ff6f05f..4d2f4d80b4 100644
--- a/openapi.yaml
+++ b/openapi.yaml
@@ -3024,7 +3024,7 @@ paths:
application/json:
schema:
properties:
- uuid:
+ name:
type: string
description: 'The name of the project.'
description: