Skip to content

Commit 102ec51

Browse files
authored
update V2 routes to Carrara (#43)
* Update endpoints * update v2 routes for carrara * add unversioned files * fix ArrayApi * .
1 parent dced033 commit 102ec51

File tree

124 files changed

+12788
-5984
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

124 files changed

+12788
-5984
lines changed

src/main/java/io/tiledb/cloud/rest_api/v2/ApiCallback.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@
1313

1414
package io.tiledb.cloud.rest_api.v2;
1515

16+
import java.io.IOException;
17+
1618
import java.util.Map;
1719
import java.util.List;
1820

src/main/java/io/tiledb/cloud/rest_api/v2/ApiClient.java

Lines changed: 143 additions & 35 deletions
Large diffs are not rendered by default.

src/main/java/io/tiledb/cloud/rest_api/v2/ApiException.java

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,18 +16,19 @@
1616
import java.util.Map;
1717
import java.util.List;
1818

19-
import javax.ws.rs.core.GenericType;
2019

2120
/**
2221
* <p>ApiException class.</p>
2322
*/
2423
@SuppressWarnings("serial")
25-
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-07-02T18:54:48.746612+03:00[Europe/Athens]")
24+
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-08-30T04:47:07.570140+03:00[Europe/Athens]", comments = "Generator version: 7.7.0")
2625
public class ApiException extends Exception {
26+
private static final long serialVersionUID = 1L;
27+
2728
private int code = 0;
2829
private Map<String, List<String>> responseHeaders = null;
2930
private String responseBody = null;
30-
31+
3132
/**
3233
* <p>Constructor for ApiException.</p>
3334
*/
@@ -99,7 +100,7 @@ public ApiException(String message, Throwable throwable, int code, Map<String, L
99100
* @param responseBody the response body
100101
*/
101102
public ApiException(int code, Map<String, List<String>> responseHeaders, String responseBody) {
102-
this((String) null, (Throwable) null, code, responseHeaders, responseBody);
103+
this("Response Code: " + code + " Response Body: " + responseBody, (Throwable) null, code, responseHeaders, responseBody);
103104
}
104105

105106
/**

src/main/java/io/tiledb/cloud/rest_api/v2/Configuration.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,10 @@
1313

1414
package io.tiledb.cloud.rest_api.v2;
1515

16-
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-07-02T18:54:48.746612+03:00[Europe/Athens]")
16+
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-08-30T04:47:07.570140+03:00[Europe/Athens]", comments = "Generator version: 7.7.0")
1717
public class Configuration {
18+
public static final String VERSION = "1.4.0";
19+
1820
private static ApiClient defaultApiClient = new ApiClient();
1921

2022
/**

src/main/java/io/tiledb/cloud/rest_api/v2/JSON.java

Lines changed: 89 additions & 141 deletions
Large diffs are not rendered by default.

src/main/java/io/tiledb/cloud/rest_api/v2/Pair.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313

1414
package io.tiledb.cloud.rest_api.v2;
1515

16-
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-07-02T18:54:48.746612+03:00[Europe/Athens]")
16+
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-08-30T04:47:07.570140+03:00[Europe/Athens]", comments = "Generator version: 7.7.0")
1717
public class Pair {
1818
private String name = "";
1919
private String value = "";

src/main/java/io/tiledb/cloud/rest_api/v2/ServerConfiguration.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
/**
66
* Representing a Server configuration.
77
*/
8+
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-08-30T04:47:07.570140+03:00[Europe/Athens]", comments = "Generator version: 7.7.0")
89
public class ServerConfiguration {
910
public String URL;
1011
public String description;
@@ -42,7 +43,7 @@ public String URL(Map<String, String> variables) {
4243
throw new IllegalArgumentException("The variable " + name + " in the server URL has invalid value " + value + ".");
4344
}
4445
}
45-
url = url.replaceAll("\\{" + name + "\\}", value);
46+
url = url.replace("{" + name + "}", value);
4647
}
4748
return url;
4849
}

src/main/java/io/tiledb/cloud/rest_api/v2/ServerVariable.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
/**
66
* Representing a Server Variable for server URL template substitution.
77
*/
8+
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-08-30T04:47:07.570140+03:00[Europe/Athens]", comments = "Generator version: 7.7.0")
89
public class ServerVariable {
910
public String description;
1011
public String defaultValue;

src/main/java/io/tiledb/cloud/rest_api/v2/StringUtil.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
import java.util.Collection;
1717
import java.util.Iterator;
1818

19-
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-07-02T18:54:48.746612+03:00[Europe/Athens]")
19+
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2025-08-30T04:47:07.570140+03:00[Europe/Athens]", comments = "Generator version: 7.7.0")
2020
public class StringUtil {
2121
/**
2222
* Check if the given array contains the given value (with case-insensitive comparison).

src/main/java/io/tiledb/cloud/rest_api/v2/api/ArrayApi.java

Lines changed: 81 additions & 62 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)