Fix API documentation for project creation endpoint

This commit is contained in:
root
2024-09-02 11:05:58 +02:00
parent eb6add358a
commit ae4c889fa2
2 changed files with 2 additions and 2 deletions

View File

@@ -167,7 +167,7 @@ class ProjectController extends Controller
schema: new OA\Schema( schema: new OA\Schema(
type: 'object', type: 'object',
properties: [ 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.'], 'description' => ['type' => 'string', 'description' => 'The description of the project.'],
], ],
), ),

View File

@@ -3024,7 +3024,7 @@ paths:
application/json: application/json:
schema: schema:
properties: properties:
uuid: name:
type: string type: string
description: 'The name of the project.' description: 'The name of the project.'
description: description: