fix: missing settings property on servers API

This commit is contained in:
SierraJC
2024-11-23 12:44:04 +11:00
parent fead884809
commit d6441549e8
3 changed files with 6 additions and 0 deletions

View File

@@ -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'],
]
)]

View File

@@ -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"

View File

@@ -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'