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
No known key found for this signature in database
GPG key ID: 464FEAD66F9DBC90
3 changed files with 6 additions and 0 deletions

View file

@ -44,6 +44,7 @@
'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'