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(docs): remove environments from projects endpoint

peaklabs-dev38fefa7330ae
diff --git a/app/Models/Project.php b/app/Models/Project.php
index 8b26672f0e..181951f14c 100644
--- a/app/Models/Project.php
+++ b/app/Models/Project.php
@@ -15,12 +15,6 @@ use Visus\Cuid2\Cuid2;
'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 096726cd55..571720d405 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 7439d6f558..896b97b9e0 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'