Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update generated code after openapi generator version bump #226

Merged
merged 1 commit into from
Jul 2, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion api-model-v1-41/.openapi-generator/VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
6.5.0
6.6.0
9 changes: 5 additions & 4 deletions api-model-v1-41/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ This runs all tests and packages the library.
* Some Kotlin and Java types are fully qualified to avoid conflicts with types defined in OpenAPI definitions.
* Implementation of ApiClient is intended to reduce method counts, specifically to benefit Android targets.

<a name="documentation-for-api-endpoints"></a>
<a id="documentation-for-api-endpoints"></a>
## Documentation for API Endpoints

All URIs are relative to *http://localhost/v1.41*
Expand Down Expand Up @@ -223,7 +223,7 @@ Class | Method | HTTP request | Description
*VolumeApi* | [**volumePrune**](docs/VolumeApi.md#volumeprune) | **POST** /volumes/prune | Delete unused volumes


<a name="documentation-for-models"></a>
<a id="documentation-for-models"></a>
## Documentation for Models

- [de.gesellix.docker.remote.api.Address](docs/Address.md)
Expand Down Expand Up @@ -425,7 +425,8 @@ Class | Method | HTTP request | Description
- [de.gesellix.docker.remote.api.VolumeUsageData](docs/VolumeUsageData.md)


<a name="documentation-for-authorization"></a>
<a id="documentation-for-authorization"></a>
## Documentation for Authorization

All endpoints do not require authorization.
Endpoints do not require authorization.

2 changes: 1 addition & 1 deletion api-model-v1-41/docs/BuildCache.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ Name | Type | Description | Notes
**usageCount** | **kotlin.Int** | | [optional]


<a name="Type"></a>
<a id="Type"></a>
## Enum: Type
Name | Value
---- | -----
Expand Down
2 changes: 1 addition & 1 deletion api-model-v1-41/docs/ContainerState.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ Name | Type | Description | Notes
**health** | [**Health**](Health.md) | | [optional]


<a name="Status"></a>
<a id="Status"></a>
## Enum: Status
Name | Value
---- | -----
Expand Down
4 changes: 2 additions & 2 deletions api-model-v1-41/docs/EndpointPortConfig.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,14 @@ Name | Type | Description | Notes
**publishMode** | [**inline**](#PublishMode) | The mode in which port is published. &lt;p&gt;&lt;br /&gt;&lt;/p&gt; - \&quot;ingress\&quot; makes the target port accessible on every node, regardless of whether there is a task for the service running on that node or not. - \&quot;host\&quot; bypasses the routing mesh and publish the port directly on the swarm node where that service is running. | [optional]


<a name="Protocol"></a>
<a id="Protocol"></a>
## Enum: Protocol
Name | Value
---- | -----
protocol | tcp, udp, sctp


<a name="PublishMode"></a>
<a id="PublishMode"></a>
## Enum: PublishMode
Name | Value
---- | -----
Expand Down
2 changes: 1 addition & 1 deletion api-model-v1-41/docs/EndpointSpec.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ Name | Type | Description | Notes
**ports** | [**kotlin.collections.MutableList&lt;EndpointPortConfig&gt;**](EndpointPortConfig.md) | List of exposed ports that this service is accessible on from the outside. Ports can only be provided if &#x60;vip&#x60; resolution mode is used. | [optional]


<a name="Mode"></a>
<a id="Mode"></a>
## Enum: Mode
Name | Value
---- | -----
Expand Down
4 changes: 2 additions & 2 deletions api-model-v1-41/docs/EventMessage.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,14 @@ Name | Type | Description | Notes
**timeNano** | **kotlin.Long** | Timestamp of event, with nanosecond accuracy | [optional]


<a name="Type"></a>
<a id="Type"></a>
## Enum: Type
Name | Value
---- | -----
type | builder, config, container, daemon, image, network, node, plugin, secret, service, volume


<a name="Scope"></a>
<a id="Scope"></a>
## Enum: scope
Name | Value
---- | -----
Expand Down
2 changes: 1 addition & 1 deletion api-model-v1-41/docs/Health.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ Name | Type | Description | Notes
**log** | [**kotlin.collections.MutableList&lt;HealthcheckResult&gt;**](HealthcheckResult.md) | Log contains the last few results (oldest first) | [optional]


<a name="Status"></a>
<a id="Status"></a>
## Enum: Status
Name | Value
---- | -----
Expand Down
4 changes: 2 additions & 2 deletions api-model-v1-41/docs/HostConfig.md
Original file line number Diff line number Diff line change
Expand Up @@ -75,14 +75,14 @@ Name | Type | Description | Notes
**readonlyPaths** | **kotlin.collections.MutableList&lt;kotlin.String&gt;** | The list of paths to be set as read-only inside the container (this overrides the default set of paths). | [optional]


<a name="CgroupnsMode"></a>
<a id="CgroupnsMode"></a>
## Enum: CgroupnsMode
Name | Value
---- | -----
cgroupnsMode | private, host


<a name="Isolation"></a>
<a id="Isolation"></a>
## Enum: Isolation
Name | Value
---- | -----
Expand Down
4 changes: 2 additions & 2 deletions api-model-v1-41/docs/HostConfigAllOf.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,14 +44,14 @@ Name | Type | Description | Notes
**readonlyPaths** | **kotlin.collections.MutableList&lt;kotlin.String&gt;** | The list of paths to be set as read-only inside the container (this overrides the default set of paths). | [optional]


<a name="CgroupnsMode"></a>
<a id="CgroupnsMode"></a>
## Enum: CgroupnsMode
Name | Value
---- | -----
cgroupnsMode | private, host


<a name="Isolation"></a>
<a id="Isolation"></a>
## Enum: Isolation
Name | Value
---- | -----
Expand Down
2 changes: 1 addition & 1 deletion api-model-v1-41/docs/HostConfigAllOfLogConfig.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ Name | Type | Description | Notes
**config** | **kotlin.collections.MutableMap&lt;kotlin.String, kotlin.String&gt;** | | [optional]


<a name="Type"></a>
<a id="Type"></a>
## Enum: Type
Name | Value
---- | -----
Expand Down
2 changes: 1 addition & 1 deletion api-model-v1-41/docs/Mount.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ Name | Type | Description | Notes
**tmpfsOptions** | [**MountTmpfsOptions**](MountTmpfsOptions.md) | | [optional]


<a name="Type"></a>
<a id="Type"></a>
## Enum: Type
Name | Value
---- | -----
Expand Down
2 changes: 1 addition & 1 deletion api-model-v1-41/docs/MountBindOptions.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ Name | Type | Description | Notes
**nonRecursive** | **kotlin.Boolean** | Disable recursive bind mount. | [optional]


<a name="Propagation"></a>
<a id="Propagation"></a>
## Enum: Propagation
Name | Value
---- | -----
Expand Down
2 changes: 1 addition & 1 deletion api-model-v1-41/docs/MountPoint.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ Name | Type | Description | Notes
**propagation** | **kotlin.String** | Propagation describes how mounts are propagated from the host into the mount point, and vice-versa. Refer to the [Linux kernel documentation](https://www.kernel.org/doc/Documentation/filesystems/sharedsubtree.txt) for details. This field is not used on Windows. | [optional]


<a name="Type"></a>
<a id="Type"></a>
## Enum: Type
Name | Value
---- | -----
Expand Down
4 changes: 2 additions & 2 deletions api-model-v1-41/docs/NodeSpec.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,14 @@ Name | Type | Description | Notes
**availability** | [**inline**](#Availability) | Availability of the node. | [optional]


<a name="Role"></a>
<a id="Role"></a>
## Enum: Role
Name | Value
---- | -----
role | worker, manager


<a name="Availability"></a>
<a id="Availability"></a>
## Enum: Availability
Name | Value
---- | -----
Expand Down
2 changes: 1 addition & 1 deletion api-model-v1-41/docs/PluginConfigInterface.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ Name | Type | Description | Notes
**protocolScheme** | [**inline**](#ProtocolScheme) | Protocol to use for clients connecting to the plugin. | [optional]


<a name="ProtocolScheme"></a>
<a id="ProtocolScheme"></a>
## Enum: ProtocolScheme
Name | Value
---- | -----
Expand Down
2 changes: 1 addition & 1 deletion api-model-v1-41/docs/Port.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ Name | Type | Description | Notes
**publicPort** | **kotlin.Int** | Port exposed on the host | [optional]


<a name="Type"></a>
<a id="Type"></a>
## Enum: Type
Name | Value
---- | -----
Expand Down
2 changes: 1 addition & 1 deletion api-model-v1-41/docs/RestartPolicy.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ Name | Type | Description | Notes
**maximumRetryCount** | **kotlin.Int** | If &#x60;on-failure&#x60; is used, the number of times to retry before giving up. | [optional]


<a name="Name"></a>
<a id="Name"></a>
## Enum: Name
Name | Value
---- | -----
Expand Down
4 changes: 2 additions & 2 deletions api-model-v1-41/docs/ServiceSpecRollbackConfig.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,14 @@ Name | Type | Description | Notes
**order** | [**inline**](#Order) | 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. | [optional]


<a name="FailureAction"></a>
<a id="FailureAction"></a>
## Enum: FailureAction
Name | Value
---- | -----
failureAction | continue, pause


<a name="Order"></a>
<a id="Order"></a>
## Enum: Order
Name | Value
---- | -----
Expand Down
4 changes: 2 additions & 2 deletions api-model-v1-41/docs/ServiceSpecUpdateConfig.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,14 @@ Name | Type | Description | Notes
**order** | [**inline**](#Order) | 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. | [optional]


<a name="FailureAction"></a>
<a id="FailureAction"></a>
## Enum: FailureAction
Name | Value
---- | -----
failureAction | continue, pause, rollback


<a name="Order"></a>
<a id="Order"></a>
## Enum: Order
Name | Value
---- | -----
Expand Down
2 changes: 1 addition & 1 deletion api-model-v1-41/docs/ServiceUpdateStatus.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ Name | Type | Description | Notes
**message** | **kotlin.String** | | [optional]


<a name="State"></a>
<a id="State"></a>
## Enum: State
Name | Value
---- | -----
Expand Down
2 changes: 1 addition & 1 deletion api-model-v1-41/docs/SwarmSpecCAConfigExternalCAsInner.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ Name | Type | Description | Notes
**caCert** | **kotlin.String** | The root CA certificate (in PEM format) this external CA uses to issue TLS certificates (assumed to be to the current swarm root CA certificate if not provided). | [optional]


<a name="Protocol"></a>
<a id="Protocol"></a>
## Enum: Protocol
Name | Value
---- | -----
Expand Down
6 changes: 3 additions & 3 deletions api-model-v1-41/docs/SystemInfo.md
Original file line number Diff line number Diff line change
Expand Up @@ -68,21 +68,21 @@ Name | Type | Description | Notes
**warnings** | **kotlin.collections.MutableList&lt;kotlin.String&gt;** | List of warnings / informational messages about missing features, or issues related to the daemon configuration. These messages can be printed by the client as information to the user. | [optional]


<a name="CgroupDriver"></a>
<a id="CgroupDriver"></a>
## Enum: CgroupDriver
Name | Value
---- | -----
cgroupDriver | cgroupfs, systemd, none


<a name="CgroupVersion"></a>
<a id="CgroupVersion"></a>
## Enum: CgroupVersion
Name | Value
---- | -----
cgroupVersion | 1, 2


<a name="Isolation"></a>
<a id="Isolation"></a>
## Enum: Isolation
Name | Value
---- | -----
Expand Down
2 changes: 1 addition & 1 deletion api-model-v1-41/docs/TaskSpecContainerSpec.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ Name | Type | Description | Notes
**ulimits** | [**kotlin.collections.MutableList&lt;ResourcesUlimitsInner&gt;**](ResourcesUlimitsInner.md) | A list of resource limits to set in the container. For example: &#x60;{\&quot;Name\&quot;: \&quot;nofile\&quot;, \&quot;Soft\&quot;: 1024, \&quot;Hard\&quot;: 2048}&#x60;\&quot; | [optional]


<a name="Isolation"></a>
<a id="Isolation"></a>
## Enum: Isolation
Name | Value
---- | -----
Expand Down
2 changes: 1 addition & 1 deletion api-model-v1-41/docs/TaskSpecRestartPolicy.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ Name | Type | Description | Notes
**window** | **kotlin.Long** | Windows is the time window used to evaluate the restart policy (default value is 0, which is unbounded). | [optional]


<a name="Condition"></a>
<a id="Condition"></a>
## Enum: Condition
Name | Value
---- | -----
Expand Down
2 changes: 1 addition & 1 deletion api-model-v1-41/docs/Volume.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ Name | Type | Description | Notes
**usageData** | [**VolumeUsageData**](VolumeUsageData.md) | | [optional]


<a name="Scope"></a>
<a id="Scope"></a>
## Enum: Scope
Name | Value
---- | -----
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,7 @@ data class BuildCache(
*
* Values: Internal,Frontend,SourcePeriodLocal,SourcePeriodGitPeriodCheckout,ExecPeriodCachemount,Regular
*/
@JsonClass(generateAdapter = false)
enum class Type(val value: kotlin.String) {

@Json(name = "internal")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,7 @@ data class ContainerState(
*
* Values: Created,Running,Paused,Restarting,Removing,Exited,Dead
*/
@JsonClass(generateAdapter = false)
enum class Status(val value: kotlin.String) {

@Json(name = "created")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ data class EndpointPortConfig(
*
* Values: Tcp,Udp,Sctp
*/
@JsonClass(generateAdapter = false)
enum class Protocol(val value: kotlin.String) {

@Json(name = "tcp")
Expand All @@ -73,6 +74,7 @@ data class EndpointPortConfig(
*
* Values: Ingress,Host
*/
@JsonClass(generateAdapter = false)
enum class PublishMode(val value: kotlin.String) {

@Json(name = "ingress")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ data class EndpointSpec(
*
* Values: Vip,Dnsrr
*/
@JsonClass(generateAdapter = false)
enum class Mode(val value: kotlin.String) {

@Json(name = "vip")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@ data class EventMessage(
*
* Values: Builder,Config,Container,Daemon,Image,Network,Node,Plugin,Secret,Service,Volume
*/
@JsonClass(generateAdapter = false)
enum class Type(val value: kotlin.String) {

@Json(name = "builder")
Expand Down Expand Up @@ -103,6 +104,7 @@ data class EventMessage(
*
* Values: Local,Swarm
*/
@JsonClass(generateAdapter = false)
enum class Scope(val value: kotlin.String) {

@Json(name = "local")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ data class Health(
*
* Values: None,Starting,Healthy,Unhealthy
*/
@JsonClass(generateAdapter = false)
enum class Status(val value: kotlin.String) {

@Json(name = "none")
Expand Down
Loading