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: missing `settings` property on servers API

SierraJCd6441549e8ef
diff --git a/app/Models/Server.php b/app/Models/Server.php
index e6e2ffbe11..2a9e926ed0 100644
--- a/app/Models/Server.php
+++ b/app/Models/Server.php
@@ -44,6 +44,7 @@ use Symfony\Component\Yaml\Yaml;
'swarm_cluster' => ['type' => 'string', 'description' => 'The swarm cluster configuration.'],
'delete_unused_volumes' => ['type' => 'boolean', 'description' => 'The flag to indicate if the unused volumes should be deleted.'],
'delete_unused_networks' => ['type' => 'boolean', 'description' => 'The flag to indicate if the unused networks should be deleted.'],
+ 'settings' => ['$ref' => '#/components/schemas/ServerSetting'],
]
)]
diff --git a/openapi.json b/openapi.json
index 2b38923b26..479b0b9d69 100644
--- a/openapi.json
+++ b/openapi.json
@@ -7456,6 +7456,9 @@
"delete_unused_networks": {
"type": "boolean",
"description": "The flag to indicate if the unused networks should be deleted."
+ },
+ "settings": {
+ "$ref": "#\/components\/schemas\/ServerSetting"
}
},
"type": "object"
diff --git a/openapi.yaml b/openapi.yaml
index d56b19795c..178da5ca01 100644
--- a/openapi.yaml
+++ b/openapi.yaml
@@ -4979,6 +4979,8 @@ components:
delete_unused_networks:
type: boolean
description: 'The flag to indicate if the unused networks should be deleted.'
+ settings:
+ $ref: '#/components/schemas/ServerSetting'
type: object
ServerSetting:
description: 'Server Settings model'