diff --git a/api-model-v1-41/.openapi-generator/VERSION b/api-model-v1-41/.openapi-generator/VERSION index b23eb275..368fd8fd 100644 --- a/api-model-v1-41/.openapi-generator/VERSION +++ b/api-model-v1-41/.openapi-generator/VERSION @@ -1 +1 @@ -7.11.0 +7.15.0 diff --git a/api-model-v1-41/README.md b/api-model-v1-41/README.md index 23bd7f11..48d1a966 100644 --- a/api-model-v1-41/README.md +++ b/api-model-v1-41/README.md @@ -78,7 +78,7 @@ This API client was generated by the [OpenAPI Generator](https://openapi-generat - API version: 1.41 - Package version: -- Generator version: 7.11.0 +- Generator version: 7.15.0 - Build package: org.openapitools.codegen.languages.KotlinClientCodegen ## Requires diff --git a/api-model-v1-41/src/main/kotlin/de/gesellix/docker/remote/api/ClusterVolumePublishStatusInner.kt b/api-model-v1-41/src/main/kotlin/de/gesellix/docker/remote/api/ClusterVolumePublishStatusInner.kt index f726d517..2bdb091b 100644 --- a/api-model-v1-41/src/main/kotlin/de/gesellix/docker/remote/api/ClusterVolumePublishStatusInner.kt +++ b/api-model-v1-41/src/main/kotlin/de/gesellix/docker/remote/api/ClusterVolumePublishStatusInner.kt @@ -40,20 +40,20 @@ data class ClusterVolumePublishStatusInner( /** * The published state of the volume. * `pending-publish` The volume should be published to this node, but the call to the controller plugin to do so has not yet been successfully completed. * `published` The volume is published successfully to the node. * `pending-node-unpublish` The volume should be unpublished from the node, and the manager is awaiting confirmation from the worker that it has done so. * `pending-controller-unpublish` The volume is successfully unpublished from the node, but has not yet been successfully unpublished on the controller. * - * Values: PendingMinusPublish,Published,PendingMinusNodeMinusUnpublish,PendingMinusControllerMinusUnpublish + * Values: PendingPublish,Published,PendingNodeUnpublish,PendingControllerUnpublish */ @JsonClass(generateAdapter = false) enum class State(val value: kotlin.String) { @Json(name = "pending-publish") - PendingMinusPublish("pending-publish"), + PendingPublish("pending-publish"), @Json(name = "published") Published("published"), @Json(name = "pending-node-unpublish") - PendingMinusNodeMinusUnpublish("pending-node-unpublish"), + PendingNodeUnpublish("pending-node-unpublish"), @Json(name = "pending-controller-unpublish") - PendingMinusControllerMinusUnpublish("pending-controller-unpublish"), + PendingControllerUnpublish("pending-controller-unpublish"), } } diff --git a/api-model-v1-41/src/main/kotlin/de/gesellix/docker/remote/api/HostConfigAllOfLogConfig.kt b/api-model-v1-41/src/main/kotlin/de/gesellix/docker/remote/api/HostConfigAllOfLogConfig.kt index e01f9f53..934ce059 100644 --- a/api-model-v1-41/src/main/kotlin/de/gesellix/docker/remote/api/HostConfigAllOfLogConfig.kt +++ b/api-model-v1-41/src/main/kotlin/de/gesellix/docker/remote/api/HostConfigAllOfLogConfig.kt @@ -34,12 +34,12 @@ data class HostConfigAllOfLogConfig( /** * * - * Values: JsonMinusFile,Syslog,Journald,Gelf,Fluentd,Awslogs,Splunk,Etwlogs,None + * Values: JsonFile,Syslog,Journald,Gelf,Fluentd,Awslogs,Splunk,Etwlogs,None */ @JsonClass(generateAdapter = false) enum class Type(val value: kotlin.String) { @Json(name = "json-file") - JsonMinusFile("json-file"), + JsonFile("json-file"), @Json(name = "syslog") Syslog("syslog"), diff --git a/api-model-v1-41/src/main/kotlin/de/gesellix/docker/remote/api/RestartPolicy.kt b/api-model-v1-41/src/main/kotlin/de/gesellix/docker/remote/api/RestartPolicy.kt index e85968f4..2101db69 100644 --- a/api-model-v1-41/src/main/kotlin/de/gesellix/docker/remote/api/RestartPolicy.kt +++ b/api-model-v1-41/src/main/kotlin/de/gesellix/docker/remote/api/RestartPolicy.kt @@ -36,7 +36,7 @@ data class RestartPolicy( /** * - Empty string means not to restart - `no` Do not automatically restart - `always` Always restart - `unless-stopped` Restart always except when the user has manually stopped the container - `on-failure` Restart only when the container exit code is non-zero * - * Values: EMPTY,No,Always,UnlessMinusStopped,OnMinusFailure + * Values: EMPTY,No,Always,UnlessStopped,OnFailure */ @JsonClass(generateAdapter = false) enum class Name(val value: kotlin.String) { @@ -50,9 +50,9 @@ data class RestartPolicy( Always("always"), @Json(name = "unless-stopped") - UnlessMinusStopped("unless-stopped"), + UnlessStopped("unless-stopped"), @Json(name = "on-failure") - OnMinusFailure("on-failure"), + OnFailure("on-failure"), } } diff --git a/api-model-v1-41/src/main/kotlin/de/gesellix/docker/remote/api/ServiceSpecRollbackConfig.kt b/api-model-v1-41/src/main/kotlin/de/gesellix/docker/remote/api/ServiceSpecRollbackConfig.kt index 87ad569a..7bed7f83 100644 --- a/api-model-v1-41/src/main/kotlin/de/gesellix/docker/remote/api/ServiceSpecRollbackConfig.kt +++ b/api-model-v1-41/src/main/kotlin/de/gesellix/docker/remote/api/ServiceSpecRollbackConfig.kt @@ -66,14 +66,14 @@ data class ServiceSpecRollbackConfig( /** * The order of operations when rolling back a task. Either the old task is shut down before the new task is started, or the new task is started before the old task is shut down. * - * Values: StopMinusFirst,StartMinusFirst + * Values: StopFirst,StartFirst */ @JsonClass(generateAdapter = false) enum class Order(val value: kotlin.String) { @Json(name = "stop-first") - StopMinusFirst("stop-first"), + StopFirst("stop-first"), @Json(name = "start-first") - StartMinusFirst("start-first"), + StartFirst("start-first"), } } diff --git a/api-model-v1-41/src/main/kotlin/de/gesellix/docker/remote/api/ServiceSpecUpdateConfig.kt b/api-model-v1-41/src/main/kotlin/de/gesellix/docker/remote/api/ServiceSpecUpdateConfig.kt index e2d577ca..45539520 100644 --- a/api-model-v1-41/src/main/kotlin/de/gesellix/docker/remote/api/ServiceSpecUpdateConfig.kt +++ b/api-model-v1-41/src/main/kotlin/de/gesellix/docker/remote/api/ServiceSpecUpdateConfig.kt @@ -69,14 +69,14 @@ data class ServiceSpecUpdateConfig( /** * The order of operations when rolling out an updated task. Either the old task is shut down before the new task is started, or the new task is started before the old task is shut down. * - * Values: StopMinusFirst,StartMinusFirst + * Values: StopFirst,StartFirst */ @JsonClass(generateAdapter = false) enum class Order(val value: kotlin.String) { @Json(name = "stop-first") - StopMinusFirst("stop-first"), + StopFirst("stop-first"), @Json(name = "start-first") - StartMinusFirst("start-first"), + StartFirst("start-first"), } } diff --git a/api-model-v1-41/src/main/kotlin/de/gesellix/docker/remote/api/TaskSpecRestartPolicy.kt b/api-model-v1-41/src/main/kotlin/de/gesellix/docker/remote/api/TaskSpecRestartPolicy.kt index 3e5adb3d..2c4b496a 100644 --- a/api-model-v1-41/src/main/kotlin/de/gesellix/docker/remote/api/TaskSpecRestartPolicy.kt +++ b/api-model-v1-41/src/main/kotlin/de/gesellix/docker/remote/api/TaskSpecRestartPolicy.kt @@ -44,7 +44,7 @@ data class TaskSpecRestartPolicy( /** * Condition for restart. * - * Values: None,OnMinusFailure,Any + * Values: None,OnFailure,Any */ @JsonClass(generateAdapter = false) enum class Condition(val value: kotlin.String) { @@ -52,7 +52,7 @@ data class TaskSpecRestartPolicy( None("none"), @Json(name = "on-failure") - OnMinusFailure("on-failure"), + OnFailure("on-failure"), @Json(name = "any") Any("any"), diff --git a/api-model-v1-45/.openapi-generator/VERSION b/api-model-v1-45/.openapi-generator/VERSION index b23eb275..368fd8fd 100644 --- a/api-model-v1-45/.openapi-generator/VERSION +++ b/api-model-v1-45/.openapi-generator/VERSION @@ -1 +1 @@ -7.11.0 +7.15.0 diff --git a/api-model-v1-45/README.md b/api-model-v1-45/README.md index cdc3f824..cf49cbd8 100644 --- a/api-model-v1-45/README.md +++ b/api-model-v1-45/README.md @@ -78,7 +78,7 @@ This API client was generated by the [OpenAPI Generator](https://openapi-generat - API version: 1.45 - Package version: -- Generator version: 7.11.0 +- Generator version: 7.15.0 - Build package: org.openapitools.codegen.languages.KotlinClientCodegen ## Requires diff --git a/api-model-v1-45/src/main/kotlin/de/gesellix/docker/remote/api/ClusterVolumePublishStatusInner.kt b/api-model-v1-45/src/main/kotlin/de/gesellix/docker/remote/api/ClusterVolumePublishStatusInner.kt index f726d517..2bdb091b 100644 --- a/api-model-v1-45/src/main/kotlin/de/gesellix/docker/remote/api/ClusterVolumePublishStatusInner.kt +++ b/api-model-v1-45/src/main/kotlin/de/gesellix/docker/remote/api/ClusterVolumePublishStatusInner.kt @@ -40,20 +40,20 @@ data class ClusterVolumePublishStatusInner( /** * The published state of the volume. * `pending-publish` The volume should be published to this node, but the call to the controller plugin to do so has not yet been successfully completed. * `published` The volume is published successfully to the node. * `pending-node-unpublish` The volume should be unpublished from the node, and the manager is awaiting confirmation from the worker that it has done so. * `pending-controller-unpublish` The volume is successfully unpublished from the node, but has not yet been successfully unpublished on the controller. * - * Values: PendingMinusPublish,Published,PendingMinusNodeMinusUnpublish,PendingMinusControllerMinusUnpublish + * Values: PendingPublish,Published,PendingNodeUnpublish,PendingControllerUnpublish */ @JsonClass(generateAdapter = false) enum class State(val value: kotlin.String) { @Json(name = "pending-publish") - PendingMinusPublish("pending-publish"), + PendingPublish("pending-publish"), @Json(name = "published") Published("published"), @Json(name = "pending-node-unpublish") - PendingMinusNodeMinusUnpublish("pending-node-unpublish"), + PendingNodeUnpublish("pending-node-unpublish"), @Json(name = "pending-controller-unpublish") - PendingMinusControllerMinusUnpublish("pending-controller-unpublish"), + PendingControllerUnpublish("pending-controller-unpublish"), } } diff --git a/api-model-v1-45/src/main/kotlin/de/gesellix/docker/remote/api/HostConfigAllOfLogConfig.kt b/api-model-v1-45/src/main/kotlin/de/gesellix/docker/remote/api/HostConfigAllOfLogConfig.kt index e01f9f53..934ce059 100644 --- a/api-model-v1-45/src/main/kotlin/de/gesellix/docker/remote/api/HostConfigAllOfLogConfig.kt +++ b/api-model-v1-45/src/main/kotlin/de/gesellix/docker/remote/api/HostConfigAllOfLogConfig.kt @@ -34,12 +34,12 @@ data class HostConfigAllOfLogConfig( /** * * - * Values: JsonMinusFile,Syslog,Journald,Gelf,Fluentd,Awslogs,Splunk,Etwlogs,None + * Values: JsonFile,Syslog,Journald,Gelf,Fluentd,Awslogs,Splunk,Etwlogs,None */ @JsonClass(generateAdapter = false) enum class Type(val value: kotlin.String) { @Json(name = "json-file") - JsonMinusFile("json-file"), + JsonFile("json-file"), @Json(name = "syslog") Syslog("syslog"), diff --git a/api-model-v1-45/src/main/kotlin/de/gesellix/docker/remote/api/RestartPolicy.kt b/api-model-v1-45/src/main/kotlin/de/gesellix/docker/remote/api/RestartPolicy.kt index e85968f4..2101db69 100644 --- a/api-model-v1-45/src/main/kotlin/de/gesellix/docker/remote/api/RestartPolicy.kt +++ b/api-model-v1-45/src/main/kotlin/de/gesellix/docker/remote/api/RestartPolicy.kt @@ -36,7 +36,7 @@ data class RestartPolicy( /** * - Empty string means not to restart - `no` Do not automatically restart - `always` Always restart - `unless-stopped` Restart always except when the user has manually stopped the container - `on-failure` Restart only when the container exit code is non-zero * - * Values: EMPTY,No,Always,UnlessMinusStopped,OnMinusFailure + * Values: EMPTY,No,Always,UnlessStopped,OnFailure */ @JsonClass(generateAdapter = false) enum class Name(val value: kotlin.String) { @@ -50,9 +50,9 @@ data class RestartPolicy( Always("always"), @Json(name = "unless-stopped") - UnlessMinusStopped("unless-stopped"), + UnlessStopped("unless-stopped"), @Json(name = "on-failure") - OnMinusFailure("on-failure"), + OnFailure("on-failure"), } } diff --git a/api-model-v1-45/src/main/kotlin/de/gesellix/docker/remote/api/ServiceSpecRollbackConfig.kt b/api-model-v1-45/src/main/kotlin/de/gesellix/docker/remote/api/ServiceSpecRollbackConfig.kt index 87ad569a..7bed7f83 100644 --- a/api-model-v1-45/src/main/kotlin/de/gesellix/docker/remote/api/ServiceSpecRollbackConfig.kt +++ b/api-model-v1-45/src/main/kotlin/de/gesellix/docker/remote/api/ServiceSpecRollbackConfig.kt @@ -66,14 +66,14 @@ data class ServiceSpecRollbackConfig( /** * The order of operations when rolling back a task. Either the old task is shut down before the new task is started, or the new task is started before the old task is shut down. * - * Values: StopMinusFirst,StartMinusFirst + * Values: StopFirst,StartFirst */ @JsonClass(generateAdapter = false) enum class Order(val value: kotlin.String) { @Json(name = "stop-first") - StopMinusFirst("stop-first"), + StopFirst("stop-first"), @Json(name = "start-first") - StartMinusFirst("start-first"), + StartFirst("start-first"), } } diff --git a/api-model-v1-45/src/main/kotlin/de/gesellix/docker/remote/api/ServiceSpecUpdateConfig.kt b/api-model-v1-45/src/main/kotlin/de/gesellix/docker/remote/api/ServiceSpecUpdateConfig.kt index e2d577ca..45539520 100644 --- a/api-model-v1-45/src/main/kotlin/de/gesellix/docker/remote/api/ServiceSpecUpdateConfig.kt +++ b/api-model-v1-45/src/main/kotlin/de/gesellix/docker/remote/api/ServiceSpecUpdateConfig.kt @@ -69,14 +69,14 @@ data class ServiceSpecUpdateConfig( /** * The order of operations when rolling out an updated task. Either the old task is shut down before the new task is started, or the new task is started before the old task is shut down. * - * Values: StopMinusFirst,StartMinusFirst + * Values: StopFirst,StartFirst */ @JsonClass(generateAdapter = false) enum class Order(val value: kotlin.String) { @Json(name = "stop-first") - StopMinusFirst("stop-first"), + StopFirst("stop-first"), @Json(name = "start-first") - StartMinusFirst("start-first"), + StartFirst("start-first"), } } diff --git a/api-model-v1-45/src/main/kotlin/de/gesellix/docker/remote/api/TaskSpecRestartPolicy.kt b/api-model-v1-45/src/main/kotlin/de/gesellix/docker/remote/api/TaskSpecRestartPolicy.kt index 3e5adb3d..2c4b496a 100644 --- a/api-model-v1-45/src/main/kotlin/de/gesellix/docker/remote/api/TaskSpecRestartPolicy.kt +++ b/api-model-v1-45/src/main/kotlin/de/gesellix/docker/remote/api/TaskSpecRestartPolicy.kt @@ -44,7 +44,7 @@ data class TaskSpecRestartPolicy( /** * Condition for restart. * - * Values: None,OnMinusFailure,Any + * Values: None,OnFailure,Any */ @JsonClass(generateAdapter = false) enum class Condition(val value: kotlin.String) { @@ -52,7 +52,7 @@ data class TaskSpecRestartPolicy( None("none"), @Json(name = "on-failure") - OnMinusFailure("on-failure"), + OnFailure("on-failure"), @Json(name = "any") Any("any"), diff --git a/build.gradle.kts b/build.gradle.kts index 583bac2d..377bb4f3 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -11,7 +11,7 @@ plugins { id("io.github.gradle-nexus.publish-plugin") version "2.0.0" alias(libs.plugins.kotlinJvm) apply false id("com.google.devtools.ksp") version "2.2.20-2.0.3" apply false - id("org.openapi.generator") version "7.11.0" apply false + id("org.openapi.generator") version "7.15.0" apply false id("org.jlleitschuh.gradle.ktlint") version "12.3.0" apply false }