From 38fefa7330aecb8848c8f975e2f11eec3293a42d Mon Sep 17 00:00:00 2001 From: peaklabs-dev <122374094+peaklabs-dev@users.noreply.github.com> Date: Mon, 5 Jan 2026 21:52:10 +0100 Subject: [PATCH] fix(docs): remove environments from projects endpoint --- app/Models/Project.php | 6 ------ openapi.json | 7 ------- openapi.yaml | 5 ----- 3 files changed, 18 deletions(-) diff --git a/app/Models/Project.php b/app/Models/Project.php index 8b26672f0..181951f14 100644 --- a/app/Models/Project.php +++ b/app/Models/Project.php @@ -15,12 +15,6 @@ 'uuid' => ['type' => 'string'], 'name' => ['type' => 'string'], 'description' => ['type' => 'string'], - 'environments' => new OA\Property( - property: 'environments', - type: 'array', - items: new OA\Items(ref: '#/components/schemas/Environment'), - description: 'The environments of the project.' - ), ] )] class Project extends BaseModel diff --git a/openapi.json b/openapi.json index 096726cd5..571720d40 100644 --- a/openapi.json +++ b/openapi.json @@ -10566,13 +10566,6 @@ }, "description": { "type": "string" - }, - "environments": { - "description": "The environments of the project.", - "type": "array", - "items": { - "$ref": "#\/components\/schemas\/Environment" - } } }, "type": "object" diff --git a/openapi.yaml b/openapi.yaml index 7439d6f55..896b97b9e 100644 --- a/openapi.yaml +++ b/openapi.yaml @@ -6692,11 +6692,6 @@ components: type: string description: type: string - environments: - description: 'The environments of the project.' - type: array - items: - $ref: '#/components/schemas/Environment' type: object Server: description: 'Server model'