Skip to content

Commit

Permalink
OpenAPI spec and SDK update: Sat Jan 18 07:06:09 UTC 2025
Browse files Browse the repository at this point in the history
  • Loading branch information
exoscale-build committed Jan 18, 2025
1 parent f260706 commit c7b81f6
Show file tree
Hide file tree
Showing 18 changed files with 957 additions and 252 deletions.
7 changes: 4 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ Java SDK for interacting with Exoscale Cloud Services.

- API version: 2.0.0

- Build date: 2025-01-09T07:06:06.940891Z[Etc/UTC]
- Build date: 2025-01-18T07:05:35.354117173Z[Etc/UTC]



Expand All @@ -33,7 +33,7 @@ Maven users can simply add the below dependency to their `pom.xml` :
<dependency>
<groupId>com.exoscale.sdk</groupId>
<artifactId>sdk</artifactId>
<version>0.0.5-SNAPSHOT-33601ed</version>
<version>0.0.5-SNAPSHOT-f260706</version>
</dependency>
```

Expand All @@ -43,7 +43,7 @@ Gradle users can add to their `build.gradle` file, and then specify the dependen
```groovy
dependencies {
implementation 'com.exoscale.sdk:sdk:0.0.5-SNAPSHOT-33601ed'
implementation 'com.exoscale.sdk:sdk:0.0.5-SNAPSHOT-f260706'
}
```

Expand Down Expand Up @@ -391,6 +391,7 @@ Class | Method | HTTP request | Description
- [BlockStorageSnapshot](sdk/docs/BlockStorageSnapshot.md)
- [BlockStorageSnapshotTarget](sdk/docs/BlockStorageSnapshotTarget.md)
- [BlockStorageVolume](sdk/docs/BlockStorageVolume.md)
- [BlockStorageVolumeDetails](sdk/docs/BlockStorageVolumeDetails.md)
- [BlockStorageVolumeTarget](sdk/docs/BlockStorageVolumeTarget.md)
- [ConfigureLogCleanerForTopicCompaction](sdk/docs/ConfigureLogCleanerForTopicCompaction.md)
- [CopyTemplateRequest](sdk/docs/CopyTemplateRequest.md)
Expand Down
96 changes: 74 additions & 22 deletions api/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4488,6 +4488,63 @@ components:
readOnly: true
description: Operation status
description: Operation
block-storage-volume-details:
type: object
properties:
labels:
"$ref": "#/components/schemas/labels"
description: Resource labels
instance:
"$ref": "#/components/schemas/instance-target"
description: Volume attached instance, if any
name:
type: string
maxLength: 255
minLength: 1
description: Volume name
state:
type: string
enum:
- snapshotting
- deleted
- creating
- detached
- deleting
- attaching
- error
- attached
- detaching
readOnly: true
description: Volume state
size:
type: integer
format: int64
minimum: 1
exclusiveMinimum: false
description: Volume size
blocksize:
type: integer
format: int64
minimum: 0
exclusiveMinimum: false
readOnly: true
description: Volume block size
block-storage-snapshots:
type: array
items:
"$ref": "#/components/schemas/block-storage-snapshot-target"
description: Volume snapshots, if any
id:
type: string
format: uuid
readOnly: true
description: Volume ID
created-at:
type: string
format: date-time
readOnly: true
description: Volume creation date
description: Block storage volume
iam-api-key-created:
type: object
properties:
Expand Down Expand Up @@ -7925,17 +7982,21 @@ components:
block-storage-volume:
type: object
properties:
labels:
"$ref": "#/components/schemas/labels"
description: Resource labels
instance:
"$ref": "#/components/schemas/instance-target"
description: Volume attached instance, if any
id:
type: string
format: uuid
readOnly: true
description: Volume ID
name:
type: string
maxLength: 255
minLength: 1
description: Volume name
created-at:
type: string
format: date-time
readOnly: true
description: Volume creation date
state:
type: string
enum:
Expand Down Expand Up @@ -7963,21 +8024,12 @@ components:
exclusiveMinimum: false
readOnly: true
description: Volume block size
block-storage-snapshots:
type: array
items:
"$ref": "#/components/schemas/block-storage-snapshot-target"
description: Volume snapshots, if any
id:
type: string
format: uuid
readOnly: true
description: Volume ID
created-at:
type: string
format: date-time
readOnly: true
description: Volume creation date
labels:
"$ref": "#/components/schemas/labels"
description: Resource labels
instance:
"$ref": "#/components/schemas/instance-target"
description: Volume attached instance, if any
description: Block storage volume
enum-migration-method:
type: string
Expand Down Expand Up @@ -11234,7 +11286,7 @@ paths:
content:
application/json:
schema:
"$ref": "#/components/schemas/block-storage-volume"
"$ref": "#/components/schemas/block-storage-volume-details"
description: ''
parameters:
- in: path
Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
<invokerPackage>com.exoscale.sdk.client</invokerPackage>
<groupId>com.exoscale.sdk</groupId>
<artifactId>sdk</artifactId>
<artifactVersion>0.0.5-SNAPSHOT-33601ed</artifactVersion>
<artifactVersion>0.0.5-SNAPSHOT-f260706</artifactVersion>
<artifactUrl>https://github.com/exoscale/exoscale-sdk-java</artifactUrl>
<artifactDescription>Java SDK for interacting with Exoscale Cloud Services.</artifactDescription>
<scmConnection>scm:git:git://github.com/exoscale/exoscale-sdk-java.git</scmConnection>
Expand Down
2 changes: 2 additions & 0 deletions sdk/.openapi-generator/FILES
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ docs/BackgroundBGWriterSettings.md
docs/BlockStorageSnapshot.md
docs/BlockStorageSnapshotTarget.md
docs/BlockStorageVolume.md
docs/BlockStorageVolumeDetails.md
docs/BlockStorageVolumeTarget.md
docs/ConfigureLogCleanerForTopicCompaction.md
docs/CopyTemplateRequest.md
Expand Down Expand Up @@ -413,6 +414,7 @@ src/main/java/com/exoscale/sdk/model/BackgroundBGWriterSettings.java
src/main/java/com/exoscale/sdk/model/BlockStorageSnapshot.java
src/main/java/com/exoscale/sdk/model/BlockStorageSnapshotTarget.java
src/main/java/com/exoscale/sdk/model/BlockStorageVolume.java
src/main/java/com/exoscale/sdk/model/BlockStorageVolumeDetails.java
src/main/java/com/exoscale/sdk/model/BlockStorageVolumeTarget.java
src/main/java/com/exoscale/sdk/model/ConfigureLogCleanerForTopicCompaction.java
src/main/java/com/exoscale/sdk/model/CopyTemplateRequest.java
Expand Down
2 changes: 1 addition & 1 deletion sdk/.openapi-generator/source-generate-sources.sha256
Original file line number Diff line number Diff line change
@@ -1 +1 @@
24f6cbaa7b1292dc1e32aca23de4f7f26b22cab7495ce5e42c1868793d14619c
186359e1af7bed07aa26a7b7801d350703d7424a9ef0c38d773ccc5f784a9b50
7 changes: 4 additions & 3 deletions sdk/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ Java SDK for interacting with Exoscale Cloud Services.

- API version: 2.0.0

- Build date: 2025-01-09T07:06:06.940891Z[Etc/UTC]
- Build date: 2025-01-18T07:05:35.354117173Z[Etc/UTC]



Expand All @@ -33,7 +33,7 @@ Maven users can simply add the below dependency to their `pom.xml` :
<dependency>
<groupId>com.exoscale.sdk</groupId>
<artifactId>sdk</artifactId>
<version>0.0.5-SNAPSHOT-33601ed</version>
<version>0.0.5-SNAPSHOT-f260706</version>
</dependency>
```

Expand All @@ -43,7 +43,7 @@ Gradle users can add to their `build.gradle` file, and then specify the dependen
```groovy
dependencies {
implementation 'com.exoscale.sdk:sdk:0.0.5-SNAPSHOT-33601ed'
implementation 'com.exoscale.sdk:sdk:0.0.5-SNAPSHOT-f260706'
}
```

Expand Down Expand Up @@ -391,6 +391,7 @@ Class | Method | HTTP request | Description
- [BlockStorageSnapshot](sdk/docs/BlockStorageSnapshot.md)
- [BlockStorageSnapshotTarget](sdk/docs/BlockStorageSnapshotTarget.md)
- [BlockStorageVolume](sdk/docs/BlockStorageVolume.md)
- [BlockStorageVolumeDetails](sdk/docs/BlockStorageVolumeDetails.md)
- [BlockStorageVolumeTarget](sdk/docs/BlockStorageVolumeTarget.md)
- [ConfigureLogCleanerForTopicCompaction](sdk/docs/ConfigureLogCleanerForTopicCompaction.md)
- [CopyTemplateRequest](sdk/docs/CopyTemplateRequest.md)
Expand Down
Loading

0 comments on commit c7b81f6

Please sign in to comment.