Skip to content

Commit

Permalink
Merge pull request #18 from databox/release/0.4.1/1720687213698
Browse files Browse the repository at this point in the history
[SDK release] Generated SDK code based on data-link 0.4.1 API changes
  • Loading branch information
slavkor authored Jul 11, 2024
2 parents 8cb6c0c + d35aa4e commit ab65a52
Show file tree
Hide file tree
Showing 34 changed files with 78 additions and 78 deletions.
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# databox

Static OpenAPI document of Push API resource
- API version: 0.3.15-sdk.5
- Build date: 2024-07-10T07:53:22.529213Z[Etc/UTC]
- API version: 0.4.1
- Build date: 2024-07-11T08:40:29.068083Z[Etc/UTC]
- Generator version: 7.6.0

Push API resources Open API documentation
Expand Down Expand Up @@ -41,7 +41,7 @@ Add this dependency to your project's POM:
<dependency>
<groupId>org.databox</groupId>
<artifactId>databox</artifactId>
<version>0.1.2</version>
<version>2.5.1</version>
<scope>compile</scope>
</dependency>
```
Expand All @@ -57,7 +57,7 @@ Add this dependency to your project's build file:
}
dependencies {
implementation "org.databox:databox:0.1.2"
implementation "org.databox:databox:2.5.1"
}
```

Expand All @@ -71,7 +71,7 @@ mvn clean package

Then manually install the following JARs:

* `target/databox-0.1.2.jar`
* `target/databox-2.5.1.jar`
* `target/lib/*.jar`

## Getting Started
Expand Down
10 changes: 5 additions & 5 deletions src/README.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# databox

Static OpenAPI document of Push API resource
- API version: 0.3.15-sdk.5
- Build date: 2024-07-10T07:53:22.529213Z[Etc/UTC]
- API version: 0.4.1
- Build date: 2024-07-11T08:40:29.068083Z[Etc/UTC]
- Generator version: 7.6.0

Push API resources Open API documentation
Expand Down Expand Up @@ -41,7 +41,7 @@ Add this dependency to your project's POM:
<dependency>
<groupId>org.databox</groupId>
<artifactId>databox</artifactId>
<version>0.1.2</version>
<version>2.5.1</version>
<scope>compile</scope>
</dependency>
```
Expand All @@ -57,7 +57,7 @@ Add this dependency to your project's build file:
}
dependencies {
implementation "org.databox:databox:0.1.2"
implementation "org.databox:databox:2.5.1"
}
```

Expand All @@ -71,7 +71,7 @@ mvn clean package

Then manually install the following JARs:

* `target/databox-0.1.2.jar`
* `target/databox-2.5.1.jar`
* `target/lib/*.jar`

## Getting Started
Expand Down
50 changes: 25 additions & 25 deletions src/api/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,15 @@ openapi: 3.0.3
info:
description: Push API resources Open API documentation
title: Static OpenAPI document of Push API resource
version: 0.3.15-sdk.5
version: 0.4.1
servers:
- description: Dev mode server description
url: https://push.databox.com
security:
- basicAuth: []
paths:
/data:
delete:
/metrickeys:
get:
responses:
"200":
description: OK
Expand All @@ -21,37 +21,25 @@ paths:
content:
application/json:
schema:
items:
$ref: '#/components/schemas/PushData'
type: array
type: object
application/vnd.databox.v2+json:
schema:
items:
$ref: '#/components/schemas/PushData'
type: array
type: object
responses:
"200":
description: OK
x-content-type: application/json
x-accepts:
- application/json
/data/{metricKey}:
delete:
parameters:
- explode: false
in: path
name: metricKey
required: true
schema:
type: string
style: simple
/ping:
get:
responses:
"200":
description: OK
x-accepts:
- application/json
/metrickeys:
get:
/data:
delete:
responses:
"200":
description: OK
Expand All @@ -62,18 +50,30 @@ paths:
content:
application/json:
schema:
type: object
items:
$ref: '#/components/schemas/PushData'
type: array
application/vnd.databox.v2+json:
schema:
type: object
items:
$ref: '#/components/schemas/PushData'
type: array
responses:
"200":
description: OK
x-content-type: application/json
x-accepts:
- application/json
/ping:
get:
/data/{metricKey}:
delete:
parameters:
- explode: false
in: path
name: metricKey
required: true
schema:
type: string
style: simple
responses:
"200":
description: OK
Expand Down
2 changes: 1 addition & 1 deletion src/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ apply plugin: 'java'
apply plugin: 'com.diffplug.spotless'

group = 'org.databox'
version = '0.1.2'
version = '2.5.1'

buildscript {
repositories {
Expand Down
2 changes: 1 addition & 1 deletion src/build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ lazy val root = (project in file(".")).
settings(
organization := "org.databox",
name := "databox",
version := "0.1.2",
version := "2.5.1",
scalaVersion := "2.11.4",
scalacOptions ++= Seq("-feature"),
javacOptions in compile ++= Seq("-Xlint:deprecation"),
Expand Down
2 changes: 1 addition & 1 deletion src/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<artifactId>databox</artifactId>
<packaging>jar</packaging>
<name>databox</name>
<version>0.1.2</version>
<version>2.5.1</version>
<url>https://github.com/databox/databox-java</url>
<description>SDK Client for using Databox Push API feature</description>
<scm>
Expand Down
2 changes: 1 addition & 1 deletion src/src/main/java/org/databox/ApiCallback.java
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* Static OpenAPI document of Push API resource
* Push API resources Open API documentation
*
* The version of the OpenAPI document: 0.3.15-sdk.5
* The version of the OpenAPI document: 0.4.1
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
Expand Down
4 changes: 2 additions & 2 deletions src/src/main/java/org/databox/ApiClient.java
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* Static OpenAPI document of Push API resource
* Push API resources Open API documentation
*
* The version of the OpenAPI document: 0.3.15-sdk.5
* The version of the OpenAPI document: 0.4.1
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
Expand Down Expand Up @@ -141,7 +141,7 @@ private void init() {
json = new JSON();

// Set default User-Agent.
setUserAgent("OpenAPI-Generator/0.1.2/java");
setUserAgent("OpenAPI-Generator/2.5.1/java");

authentications = new HashMap<String, Authentication>();
}
Expand Down
4 changes: 2 additions & 2 deletions src/src/main/java/org/databox/ApiException.java
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* Static OpenAPI document of Push API resource
* Push API resources Open API documentation
*
* The version of the OpenAPI document: 0.3.15-sdk.5
* The version of the OpenAPI document: 0.4.1
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
Expand All @@ -21,7 +21,7 @@
* <p>ApiException class.</p>
*/
@SuppressWarnings("serial")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-07-10T07:53:22.529213Z[Etc/UTC]", comments = "Generator version: 7.6.0")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-07-11T08:40:29.068083Z[Etc/UTC]", comments = "Generator version: 7.6.0")
public class ApiException extends Exception {
private static final long serialVersionUID = 1L;

Expand Down
2 changes: 1 addition & 1 deletion src/src/main/java/org/databox/ApiResponse.java
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* Static OpenAPI document of Push API resource
* Push API resources Open API documentation
*
* The version of the OpenAPI document: 0.3.15-sdk.5
* The version of the OpenAPI document: 0.4.1
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
Expand Down
6 changes: 3 additions & 3 deletions src/src/main/java/org/databox/Configuration.java
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* Static OpenAPI document of Push API resource
* Push API resources Open API documentation
*
* The version of the OpenAPI document: 0.3.15-sdk.5
* The version of the OpenAPI document: 0.4.1
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
Expand All @@ -13,9 +13,9 @@

package org.databox;

@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-07-10T07:53:22.529213Z[Etc/UTC]", comments = "Generator version: 7.6.0")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-07-11T08:40:29.068083Z[Etc/UTC]", comments = "Generator version: 7.6.0")
public class Configuration {
public static final String VERSION = "0.1.2";
public static final String VERSION = "2.5.1";

private static ApiClient defaultApiClient = new ApiClient();

Expand Down
2 changes: 1 addition & 1 deletion src/src/main/java/org/databox/GzipRequestInterceptor.java
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* Static OpenAPI document of Push API resource
* Push API resources Open API documentation
*
* The version of the OpenAPI document: 0.3.15-sdk.5
* The version of the OpenAPI document: 0.4.1
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
Expand Down
2 changes: 1 addition & 1 deletion src/src/main/java/org/databox/JSON.java
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* Static OpenAPI document of Push API resource
* Push API resources Open API documentation
*
* The version of the OpenAPI document: 0.3.15-sdk.5
* The version of the OpenAPI document: 0.4.1
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
Expand Down
4 changes: 2 additions & 2 deletions src/src/main/java/org/databox/Pair.java
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* Static OpenAPI document of Push API resource
* Push API resources Open API documentation
*
* The version of the OpenAPI document: 0.3.15-sdk.5
* The version of the OpenAPI document: 0.4.1
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
Expand All @@ -13,7 +13,7 @@

package org.databox;

@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-07-10T07:53:22.529213Z[Etc/UTC]", comments = "Generator version: 7.6.0")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-07-11T08:40:29.068083Z[Etc/UTC]", comments = "Generator version: 7.6.0")
public class Pair {
private String name = "";
private String value = "";
Expand Down
2 changes: 1 addition & 1 deletion src/src/main/java/org/databox/ProgressRequestBody.java
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* Static OpenAPI document of Push API resource
* Push API resources Open API documentation
*
* The version of the OpenAPI document: 0.3.15-sdk.5
* The version of the OpenAPI document: 0.4.1
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
Expand Down
2 changes: 1 addition & 1 deletion src/src/main/java/org/databox/ProgressResponseBody.java
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* Static OpenAPI document of Push API resource
* Push API resources Open API documentation
*
* The version of the OpenAPI document: 0.3.15-sdk.5
* The version of the OpenAPI document: 0.4.1
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
Expand Down
2 changes: 1 addition & 1 deletion src/src/main/java/org/databox/ServerConfiguration.java
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
/**
* Representing a Server configuration.
*/
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-07-10T07:53:22.529213Z[Etc/UTC]", comments = "Generator version: 7.6.0")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-07-11T08:40:29.068083Z[Etc/UTC]", comments = "Generator version: 7.6.0")
public class ServerConfiguration {
public String URL;
public String description;
Expand Down
2 changes: 1 addition & 1 deletion src/src/main/java/org/databox/ServerVariable.java
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
/**
* Representing a Server Variable for server URL template substitution.
*/
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-07-10T07:53:22.529213Z[Etc/UTC]", comments = "Generator version: 7.6.0")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-07-11T08:40:29.068083Z[Etc/UTC]", comments = "Generator version: 7.6.0")
public class ServerVariable {
public String description;
public String defaultValue;
Expand Down
4 changes: 2 additions & 2 deletions src/src/main/java/org/databox/StringUtil.java
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* Static OpenAPI document of Push API resource
* Push API resources Open API documentation
*
* The version of the OpenAPI document: 0.3.15-sdk.5
* The version of the OpenAPI document: 0.4.1
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
Expand All @@ -16,7 +16,7 @@
import java.util.Collection;
import java.util.Iterator;

@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-07-10T07:53:22.529213Z[Etc/UTC]", comments = "Generator version: 7.6.0")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-07-11T08:40:29.068083Z[Etc/UTC]", comments = "Generator version: 7.6.0")
public class StringUtil {
/**
* Check if the given array contains the given value (with case-insensitive comparison).
Expand Down
2 changes: 1 addition & 1 deletion src/src/main/java/org/databox/api/DefaultApi.java
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* Static OpenAPI document of Push API resource
* Push API resources Open API documentation
*
* The version of the OpenAPI document: 0.3.15-sdk.5
* The version of the OpenAPI document: 0.4.1
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
Expand Down
4 changes: 2 additions & 2 deletions src/src/main/java/org/databox/auth/ApiKeyAuth.java
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* Static OpenAPI document of Push API resource
* Push API resources Open API documentation
*
* The version of the OpenAPI document: 0.3.15-sdk.5
* The version of the OpenAPI document: 0.4.1
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
Expand All @@ -20,7 +20,7 @@
import java.util.Map;
import java.util.List;

@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-07-10T07:53:22.529213Z[Etc/UTC]", comments = "Generator version: 7.6.0")
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-07-11T08:40:29.068083Z[Etc/UTC]", comments = "Generator version: 7.6.0")
public class ApiKeyAuth implements Authentication {
private final String location;
private final String paramName;
Expand Down
Loading

0 comments on commit ab65a52

Please sign in to comment.