fix: move servers API delete_unused_*
properties
correct location from API response is in server.settings
This commit is contained in:
@@ -42,8 +42,6 @@ use Symfony\Component\Yaml\Yaml;
|
|||||||
'validation_logs' => ['type' => 'string', 'description' => 'The validation logs.'],
|
'validation_logs' => ['type' => 'string', 'description' => 'The validation logs.'],
|
||||||
'log_drain_notification_sent' => ['type' => 'boolean', 'description' => 'The flag to indicate if the log drain notification has been sent.'],
|
'log_drain_notification_sent' => ['type' => 'boolean', 'description' => 'The flag to indicate if the log drain notification has been sent.'],
|
||||||
'swarm_cluster' => ['type' => 'string', 'description' => 'The swarm cluster configuration.'],
|
'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'],
|
'settings' => ['$ref' => '#/components/schemas/ServerSetting'],
|
||||||
]
|
]
|
||||||
)]
|
)]
|
||||||
|
@@ -45,6 +45,8 @@ use OpenApi\Attributes as OA;
|
|||||||
'wildcard_domain' => ['type' => 'string'],
|
'wildcard_domain' => ['type' => 'string'],
|
||||||
'created_at' => ['type' => 'string'],
|
'created_at' => ['type' => 'string'],
|
||||||
'updated_at' => ['type' => 'string'],
|
'updated_at' => ['type' => 'string'],
|
||||||
|
'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.'],
|
||||||
]
|
]
|
||||||
)]
|
)]
|
||||||
class ServerSetting extends Model
|
class ServerSetting extends Model
|
||||||
|
16
openapi.json
16
openapi.json
@@ -7449,14 +7449,6 @@
|
|||||||
"type": "string",
|
"type": "string",
|
||||||
"description": "The swarm cluster configuration."
|
"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": {
|
"settings": {
|
||||||
"$ref": "#\/components\/schemas\/ServerSetting"
|
"$ref": "#\/components\/schemas\/ServerSetting"
|
||||||
}
|
}
|
||||||
@@ -7567,6 +7559,14 @@
|
|||||||
},
|
},
|
||||||
"updated_at": {
|
"updated_at": {
|
||||||
"type": "string"
|
"type": "string"
|
||||||
|
},
|
||||||
|
"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."
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"type": "object"
|
"type": "object"
|
||||||
|
12
openapi.yaml
12
openapi.yaml
@@ -4973,12 +4973,6 @@ components:
|
|||||||
swarm_cluster:
|
swarm_cluster:
|
||||||
type: string
|
type: string
|
||||||
description: 'The swarm cluster configuration.'
|
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:
|
settings:
|
||||||
$ref: '#/components/schemas/ServerSetting'
|
$ref: '#/components/schemas/ServerSetting'
|
||||||
type: object
|
type: object
|
||||||
@@ -5053,6 +5047,12 @@ components:
|
|||||||
type: string
|
type: string
|
||||||
updated_at:
|
updated_at:
|
||||||
type: string
|
type: string
|
||||||
|
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.'
|
||||||
type: object
|
type: object
|
||||||
Service:
|
Service:
|
||||||
description: 'Service model'
|
description: 'Service model'
|
||||||
|
Reference in New Issue
Block a user