Skip to content

Commit 5afc235

Browse files
authored
v5.4.1 (#16)
- Fix a request method of the 'document move to folder' endpoint
1 parent 52ca49d commit 5afc235

7 files changed

Lines changed: 10 additions & 10 deletions

File tree

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ Add this dependency to your project's POM:
3535
<dependency>
3636
<groupId>com.pandadoc</groupId>
3737
<artifactId>pandadoc-java-client</artifactId>
38-
<version>5.4.0</version>
38+
<version>5.4.1</version>
3939
<scope>compile</scope>
4040
</dependency>
4141
```
@@ -45,7 +45,7 @@ Add this dependency to your project's POM:
4545
Add this dependency to your project's build file:
4646

4747
```groovy
48-
compile "com.pandadoc:pandadoc-java-client:5.4.0"
48+
compile "com.pandadoc:pandadoc-java-client:5.4.1"
4949
```
5050

5151
### Others
@@ -58,7 +58,7 @@ mvn clean package
5858

5959
Then manually install the following JARs:
6060

61-
- `target/pandadoc-java-client-5.4.0.jar`
61+
- `target/pandadoc-java-client-5.4.1.jar`
6262
- `target/lib/*.jar`
6363

6464
## Getting Started
@@ -137,7 +137,7 @@ Class | Method | HTTP request | Description
137137
*DocumentsApi* | [**deleteDocument**](docs/DocumentsApi.md#deleteDocument) | **DELETE** /public/v1/documents/{id} | Delete document by id
138138
*DocumentsApi* | [**deleteLinkedObject**](docs/DocumentsApi.md#deleteLinkedObject) | **DELETE** /public/v1/documents/{id}/linked-objects/{linked_object_id} | Delete Linked Object
139139
*DocumentsApi* | [**detailsDocument**](docs/DocumentsApi.md#detailsDocument) | **GET** /public/v1/documents/{id}/details | Document details
140-
*DocumentsApi* | [**documentMoveToFolder**](docs/DocumentsApi.md#documentMoveToFolder) | **DELETE** /public/v1/documents/{id}/move-to-folder/{folder_id} | Document move to folder
140+
*DocumentsApi* | [**documentMoveToFolder**](docs/DocumentsApi.md#documentMoveToFolder) | **POST** /public/v1/documents/{id}/move-to-folder/{folder_id} | Document move to folder
141141
*DocumentsApi* | [**downloadDocument**](docs/DocumentsApi.md#downloadDocument) | **GET** /public/v1/documents/{id}/download | Document download
142142
*DocumentsApi* | [**downloadProtectedDocument**](docs/DocumentsApi.md#downloadProtectedDocument) | **GET** /public/v1/documents/{id}/download-protected | Download document protected
143143
*DocumentsApi* | [**listDocuments**](docs/DocumentsApi.md#listDocuments) | **GET** /public/v1/documents | List documents

build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ apply plugin: 'java'
44
apply plugin: 'com.diffplug.spotless'
55

66
group = 'com.pandadoc'
7-
version = '5.4.0'
7+
version = '5.4.1'
88

99
buildscript {
1010
repositories {

build.sbt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ lazy val root = (project in file(".")).
22
settings(
33
organization := "com.pandadoc",
44
name := "pandadoc-java-client",
5-
version := "5.4.0",
5+
version := "5.4.1",
66
scalaVersion := "2.11.4",
77
scalacOptions ++= Seq("-feature"),
88
javacOptions in compile ++= Seq("-Xlint:deprecation"),

docs/DocumentsApi.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ Method | HTTP request | Description
1111
[**deleteDocument**](DocumentsApi.md#deleteDocument) | **DELETE** /public/v1/documents/{id} | Delete document by id
1212
[**deleteLinkedObject**](DocumentsApi.md#deleteLinkedObject) | **DELETE** /public/v1/documents/{id}/linked-objects/{linked_object_id} | Delete Linked Object
1313
[**detailsDocument**](DocumentsApi.md#detailsDocument) | **GET** /public/v1/documents/{id}/details | Document details
14-
[**documentMoveToFolder**](DocumentsApi.md#documentMoveToFolder) | **DELETE** /public/v1/documents/{id}/move-to-folder/{folder_id} | Document move to folder
14+
[**documentMoveToFolder**](DocumentsApi.md#documentMoveToFolder) | **POST** /public/v1/documents/{id}/move-to-folder/{folder_id} | Document move to folder
1515
[**downloadDocument**](DocumentsApi.md#downloadDocument) | **GET** /public/v1/documents/{id}/download | Document download
1616
[**downloadProtectedDocument**](DocumentsApi.md#downloadProtectedDocument) | **GET** /public/v1/documents/{id}/download-protected | Download document protected
1717
[**listDocuments**](DocumentsApi.md#listDocuments) | **GET** /public/v1/documents | List documents

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<artifactId>pandadoc-java-client</artifactId>
66
<packaging>jar</packaging>
77
<name>pandadoc-java-client</name>
8-
<version>5.4.0</version>
8+
<version>5.4.1</version>
99
<url>https://github.com/PandaDoc/pandadoc-api-java-client</url>
1010
<description>PandaDoc SDK spans a broad range of functionality to help you build incredible documents automation experiences inside your product.</description>
1111
<scm>

src/main/java/com/pandadoc/client/ApiClient.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -204,7 +204,7 @@ private void init() {
204204
json = new JSON();
205205

206206
// Set default User-Agent.
207-
setUserAgent("pandadoc_java_client/5.4.0");
207+
setUserAgent("pandadoc_java_client/5.4.1");
208208

209209
authentications = new HashMap<String, Authentication>();
210210
}

src/main/java/com/pandadoc/client/api/DocumentsApi.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1195,7 +1195,7 @@ public okhttp3.Call documentMoveToFolderCall(String id, String folderId, final A
11951195
}
11961196

11971197
String[] localVarAuthNames = new String[] { "apiKey", "oauth2" };
1198-
return localVarApiClient.buildCall(basePath, localVarPath, "DELETE", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback);
1198+
return localVarApiClient.buildCall(basePath, localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback);
11991199
}
12001200

12011201
@SuppressWarnings("rawtypes")

0 commit comments

Comments
 (0)