Skip to content

Commit

Permalink
[skyapi] refs #15 Regenerate at 0.25.1 for change in spec
Browse files Browse the repository at this point in the history
  • Loading branch information
stdevMac committed Jun 6, 2019
1 parent e28268b commit 662490d
Show file tree
Hide file tree
Showing 95 changed files with 3,275 additions and 3,376 deletions.
2 changes: 1 addition & 1 deletion lib/skyapi/.openapi-generator/VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
3.3.4
4.0.0-SNAPSHOT
17 changes: 0 additions & 17 deletions lib/skyapi/.travis.yml

This file was deleted.

28 changes: 14 additions & 14 deletions lib/skyapi/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

Skycoin REST API.
- API version: 0.25.1
- Build date: 2019-03-14T21:13:49.839099-04:00[America/Havana]
- Build date: 2019-06-06T13:17:51.889712-04:00[America/Havana]

Skycoin is a next-generation cryptocurrency.

Expand Down Expand Up @@ -41,7 +41,7 @@ Add this dependency to your project's POM:
<dependency>
<groupId>Skycoin</groupId>
<artifactId>skyapi</artifactId>
<version>v0.25.1</version>
<version>0.25.1</version>
<scope>compile</scope>
</dependency>
```
Expand All @@ -51,7 +51,7 @@ Add this dependency to your project's POM:
Add this dependency to your project's build file:

```groovy
compile "Skycoin:skyapi:v0.25.1"
compile "Skycoin:skyapi:0.25.1"
```

### Others
Expand All @@ -64,7 +64,7 @@ mvn clean package

Then manually install the following JARs:

* `target/skyapi-v0.25.1.jar`
* `target/skyapi-0.25.1.jar`
* `target/lib/*.jar`

## Getting Started
Expand Down Expand Up @@ -159,15 +159,15 @@ Class | Method | HTTP request | Description

## Documentation for Models

- [Apiv1exploreraddressInputs](docs/Apiv1exploreraddressInputs.md)
- [Apiv1exploreraddressOutputs](docs/Apiv1exploreraddressOutputs.md)
- [Apiv1exploreraddressStatus](docs/Apiv1exploreraddressStatus.md)
- [Apiv1pendingTxsTransaction](docs/Apiv1pendingTxsTransaction.md)
- [Apiv1walletsEntries](docs/Apiv1walletsEntries.md)
- [Apiv1walletsMeta](docs/Apiv1walletsMeta.md)
- [Apiv1wallettransactionHoursSelection](docs/Apiv1wallettransactionHoursSelection.md)
- [Apiv1wallettransactionTo](docs/Apiv1wallettransactionTo.md)
- [Apiv1wallettransactionWallet](docs/Apiv1wallettransactionWallet.md)
- [ApiV1ExplorerAddressInputs](docs/ApiV1ExplorerAddressInputs.md)
- [ApiV1ExplorerAddressOutputs](docs/ApiV1ExplorerAddressOutputs.md)
- [ApiV1ExplorerAddressStatus](docs/ApiV1ExplorerAddressStatus.md)
- [ApiV1PendingTxsTransaction](docs/ApiV1PendingTxsTransaction.md)
- [ApiV1WalletTransactionHoursSelection](docs/ApiV1WalletTransactionHoursSelection.md)
- [ApiV1WalletTransactionTo](docs/ApiV1WalletTransactionTo.md)
- [ApiV1WalletTransactionWallet](docs/ApiV1WalletTransactionWallet.md)
- [ApiV1WalletsEntries](docs/ApiV1WalletsEntries.md)
- [ApiV1WalletsMeta](docs/ApiV1WalletsMeta.md)
- [InlineObject](docs/InlineObject.md)
- [InlineResponse200](docs/InlineResponse200.md)
- [InlineResponse2001](docs/InlineResponse2001.md)
Expand Down Expand Up @@ -198,5 +198,5 @@ It's recommended to create an instance of `ApiClient` per thread in a multithrea

## Author

skycoin.[email protected]
contact@skycoin.net

20 changes: 12 additions & 8 deletions lib/skyapi/build.gradle
Original file line number Diff line number Diff line change
@@ -1,11 +1,13 @@
apply plugin: 'idea'
apply plugin: 'eclipse'
apply plugin: 'java'

group = 'Skycoin'
version = 'v0.25.1'
version = '0.25.1'

buildscript {
repositories {
mavenCentral()
jcenter()
}
dependencies {
Expand All @@ -17,7 +19,9 @@ buildscript {
repositories {
jcenter()
}

sourceSets {
main.java.srcDirs = ['src/main/java']
}

if(hasProperty('target') && target == 'android') {

Expand Down Expand Up @@ -94,12 +98,12 @@ if(hasProperty('target') && target == 'android') {
}

dependencies {
compile 'io.swagger:swagger-annotations:1.5.17'
compile 'com.squareup.okhttp:okhttp:2.7.5'
compile 'com.squareup.okhttp:logging-interceptor:2.7.5'
compile 'com.google.code.gson:gson:2.8.1'
compile 'io.gsonfire:gson-fire:1.8.0'
compile group: 'org.apache.oltu.oauth2', name: 'org.apache.oltu.oauth2.client', version: '1.0.1'
compile 'io.swagger:swagger-annotations:1.5.21'
compile 'com.squareup.okhttp3:okhttp:3.13.1'
compile 'com.squareup.okhttp3:logging-interceptor:3.13.1'
compile 'com.google.code.gson:gson:2.8.5'
compile 'io.gsonfire:gson-fire:1.8.3'
compile group: 'org.apache.commons', name: 'commons-lang3', version: '3.8.1'
compile 'org.threeten:threetenbp:1.3.5'
testCompile 'junit:junit:4.12'
}
13 changes: 7 additions & 6 deletions lib/skyapi/build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -2,19 +2,20 @@ lazy val root = (project in file(".")).
settings(
organization := "Skycoin",
name := "skyapi",
version := "v0.25.1",
version := "0.25.1",
scalaVersion := "2.11.4",
scalacOptions ++= Seq("-feature"),
javacOptions in compile ++= Seq("-Xlint:deprecation"),
publishArtifact in (Compile, packageDoc) := false,
resolvers += Resolver.mavenLocal,
libraryDependencies ++= Seq(
"io.swagger" % "swagger-annotations" % "1.5.17",
"com.squareup.okhttp" % "okhttp" % "2.7.5",
"com.squareup.okhttp" % "logging-interceptor" % "2.7.5",
"com.google.code.gson" % "gson" % "2.8.1",
"io.swagger" % "swagger-annotations" % "1.5.21",
"com.squareup.okhttp3" % "okhttp" % "3.13.1",
"com.squareup.okhttp3" % "logging-interceptor" % "3.13.1",
"com.google.code.gson" % "gson" % "2.8.5",
"org.apache.commons" % "commons-lang3" % "3.8.1",
"org.threeten" % "threetenbp" % "1.3.5" % "compile",
"io.gsonfire" % "gson-fire" % "1.8.0" % "compile",
"io.gsonfire" % "gson-fire" % "1.8.3" % "compile",
"junit" % "junit" % "4.12" % "test",
"com.novocode" % "junit-interface" % "0.10" % "test"
)
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@

# Apiv1exploreraddressInputs

# ApiV1ExplorerAddressInputs

## Properties

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**owner** | **String** | | [optional]
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@

# Apiv1exploreraddressOutputs

# ApiV1ExplorerAddressOutputs

## Properties

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**hours** | **Long** | | [optional]
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@

# Apiv1exploreraddressStatus

# ApiV1ExplorerAddressStatus

## Properties

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**unconfirmed** | **Boolean** | | [optional]
Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@

# Apiv1pendingTxsTransaction

# ApiV1PendingTxsTransaction

## Properties

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**outputs** | [**List&lt;Apiv1exploreraddressOutputs&gt;**](Apiv1exploreraddressOutputs.md) | | [optional]
**outputs** | [**List&lt;ApiV1ExplorerAddressOutputs&gt;**](ApiV1ExplorerAddressOutputs.md) | | [optional]
**innerHash** | **String** | | [optional]
**inputs** | **List&lt;String&gt;** | | [optional]
**sigs** | **List&lt;String&gt;** | | [optional]
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@

# Apiv1wallettransactionHoursSelection

# ApiV1WalletTransactionHoursSelection

## Properties

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**mode** | **String** | | [optional]
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@

# Apiv1wallettransactionTo

# ApiV1WalletTransactionTo

## Properties

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**hours** | **Long** | | [optional]
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@

# Apiv1wallettransactionWallet

# ApiV1WalletTransactionWallet

## Properties

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**unspents** | **List&lt;String&gt;** | | [optional]
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@

# Apiv1walletsEntries

# ApiV1WalletsEntries

## Properties

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**publicKey** | **String** | | [optional]
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@

# Apiv1walletsMeta

# ApiV1WalletsMeta

## Properties

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**filename** | **String** | | [optional]
Expand Down
24 changes: 13 additions & 11 deletions lib/skyapi/docs/DefaultApi.md
Original file line number Diff line number Diff line change
Expand Up @@ -472,7 +472,7 @@ Name | Type | Description | Notes

<a name="coinSupply"></a>
# **coinSupply**
> coinSupply()
> Object coinSupply()


Expand All @@ -487,7 +487,8 @@ coinSupplyHandler returns coin distribution supply stats

DefaultApi apiInstance = new DefaultApi();
try {
apiInstance.coinSupply();
Object result = apiInstance.coinSupply();
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling DefaultApi#coinSupply");
e.printStackTrace();
Expand All @@ -499,7 +500,7 @@ This endpoint does not need any parameter.

### Return type

null (empty response body)
**Object**

### Authorization

Expand Down Expand Up @@ -1201,7 +1202,7 @@ No authorization required


Returns a transaction identified by its txid hash with just id
Returns a transaction identi&#x60;fied by its txid hash with just id

### Example
```java
Expand Down Expand Up @@ -1587,7 +1588,7 @@ Name | Type | Description | Notes

<a name="version"></a>
# **version**
> version()
> Object version()


Expand All @@ -1602,7 +1603,8 @@ versionHandler returns the application version info

DefaultApi apiInstance = new DefaultApi();
try {
apiInstance.version();
Object result = apiInstance.version();
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling DefaultApi#version");
e.printStackTrace();
Expand All @@ -1614,7 +1616,7 @@ This endpoint does not need any parameter.

### Return type

null (empty response body)
**Object**

### Authorization

Expand Down Expand Up @@ -2261,7 +2263,7 @@ Name | Type | Description | Notes

<a name="walletTransaction"></a>
# **walletTransaction**
> Object walletTransaction(inlineObject)
> Object walletTransaction(body)


Expand All @@ -2285,9 +2287,9 @@ csrfAuth.setApiKey("YOUR API KEY");
//csrfAuth.setApiKeyPrefix("Token");

DefaultApi apiInstance = new DefaultApi();
InlineObject inlineObject = new InlineObject(); // InlineObject |
InlineObject body = new InlineObject(); // InlineObject |
try {
Object result = apiInstance.walletTransaction(inlineObject);
Object result = apiInstance.walletTransaction(body);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling DefaultApi#walletTransaction");
Expand All @@ -2299,7 +2301,7 @@ try {

Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**inlineObject** | [**InlineObject**](InlineObject.md)| | [optional]
**body** | [**InlineObject**](InlineObject.md)| |

### Return type

Expand Down
8 changes: 5 additions & 3 deletions lib/skyapi/docs/InlineObject.md
Original file line number Diff line number Diff line change
@@ -1,14 +1,16 @@


# InlineObject

## Properties

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**changeAddress** | **String** | | [optional]
**hoursSelection** | [**Apiv1wallettransactionHoursSelection**](Apiv1wallettransactionHoursSelection.md) | | [optional]
**hoursSelection** | [**ApiV1WalletTransactionHoursSelection**](ApiV1WalletTransactionHoursSelection.md) | | [optional]
**ignoreUnconfirmed** | **Boolean** | | [optional]
**to** | [**List&lt;Apiv1wallettransactionTo&gt;**](Apiv1wallettransactionTo.md) | | [optional]
**wallet** | [**Apiv1wallettransactionWallet**](Apiv1wallettransactionWallet.md) | | [optional]
**to** | [**List&lt;ApiV1WalletTransactionTo&gt;**](ApiV1WalletTransactionTo.md) | | [optional]
**wallet** | [**ApiV1WalletTransactionWallet**](ApiV1WalletTransactionWallet.md) | | [optional]



2 changes: 2 additions & 0 deletions lib/skyapi/docs/InlineResponse200.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@


# InlineResponse200

## Properties

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**hours** | **Long** | | [optional]
Expand Down
Loading

0 comments on commit 662490d

Please sign in to comment.