Skip to content

Commit 7c73a21

Browse files
Merge branch 'oas-release' into release-examples-update
2 parents 10ef5b5 + 29f4cc6 commit 7c73a21

File tree

215 files changed

+293
-266
lines changed

Some content is hidden

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

215 files changed

+293
-266
lines changed

openapi-sdk.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8112,10 +8112,10 @@ components:
81128112
description: 'The token provided when you got the expired access token.'
81138113
type: string
81148114
client_id:
8115-
description: 'The client ID for your API app. Mandatory from August 1st, 2025. Until then, required if the "Client Credentials Required" setting is enabled for token refresh; optional if disabled.'
8115+
description: 'The client ID for your API app. Required for new API apps. To enhance security, we recommend making it required for existing apps in your app settings.'
81168116
type: string
81178117
client_secret:
8118-
description: 'The client secret for your API app. Mandatory from August 1st, 2025. Until then, required if the "Client Credentials Required" setting is enabled for token refresh; optional if disabled.'
8118+
description: 'The client secret for your API app. Required for new API apps. To enhance security, we recommend making it required for existing apps in your app settings.'
81198119
type: string
81208120
type: object
81218121
ReportCreateRequest:

openapi.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8112,10 +8112,10 @@ components:
81128112
description: 'The token provided when you got the expired access token.'
81138113
type: string
81148114
client_id:
8115-
description: 'The client ID for your API app. Mandatory from August 1st, 2025. Until then, required if the "Client Credentials Required" setting is enabled for token refresh; optional if disabled.'
8115+
description: 'The client ID for your API app. Required for new API apps. To enhance security, we recommend making it required for existing apps in your app settings.'
81168116
type: string
81178117
client_secret:
8118-
description: 'The client secret for your API app. Mandatory from August 1st, 2025. Until then, required if the "Client Credentials Required" setting is enabled for token refresh; optional if disabled.'
8118+
description: 'The client secret for your API app. Required for new API apps. To enhance security, we recommend making it required for existing apps in your app settings.'
81198119
type: string
81208120
type: object
81218121
ReportCreateRequest:

sdks/dotnet/docs/OAuthTokenRefreshRequest.md

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

55
Name | Type | Description | Notes
66
------------ | ------------- | ------------- | -------------
7-
**GrantType** | **string** | When refreshing an existing token use `refresh_token`. | [default to "refresh_token"]**RefreshToken** | **string** | The token provided when you got the expired access token. | **ClientId** | **string** | The client ID for your API app. Mandatory from August 1st, 2025. Until then, required if the "Client Credentials Required" setting is enabled for token refresh; optional if disabled. | [optional] **ClientSecret** | **string** | The client secret for your API app. Mandatory from August 1st, 2025. Until then, required if the "Client Credentials Required" setting is enabled for token refresh; optional if disabled. | [optional]
7+
**GrantType** | **string** | When refreshing an existing token use `refresh_token`. | [default to "refresh_token"]**RefreshToken** | **string** | The token provided when you got the expired access token. | **ClientId** | **string** | The client ID for your API app. Required for new API apps. To enhance security, we recommend making it required for existing apps in your app settings. | [optional] **ClientSecret** | **string** | The client secret for your API app. Required for new API apps. To enhance security, we recommend making it required for existing apps in your app settings. | [optional]
88

99
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
1010

sdks/dotnet/src/Dropbox.Sign/Model/OAuthTokenRefreshRequest.cs

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,8 @@ protected OAuthTokenRefreshRequest() { }
4343
/// </summary>
4444
/// <param name="grantType">When refreshing an existing token use &#x60;refresh_token&#x60;. (required) (default to &quot;refresh_token&quot;).</param>
4545
/// <param name="refreshToken">The token provided when you got the expired access token. (required).</param>
46-
/// <param name="clientId">The client ID for your API app. Mandatory from August 1st, 2025. Until then, required if the \&quot;Client Credentials Required\&quot; setting is enabled for token refresh; optional if disabled..</param>
47-
/// <param name="clientSecret">The client secret for your API app. Mandatory from August 1st, 2025. Until then, required if the \&quot;Client Credentials Required\&quot; setting is enabled for token refresh; optional if disabled..</param>
46+
/// <param name="clientId">The client ID for your API app. Required for new API apps. To enhance security, we recommend making it required for existing apps in your app settings..</param>
47+
/// <param name="clientSecret">The client secret for your API app. Required for new API apps. To enhance security, we recommend making it required for existing apps in your app settings..</param>
4848
public OAuthTokenRefreshRequest(string grantType = @"refresh_token", string refreshToken = default(string), string clientId = default(string), string clientSecret = default(string))
4949
{
5050

@@ -95,16 +95,16 @@ public static OAuthTokenRefreshRequest Init(string jsonData)
9595
public string RefreshToken { get; set; }
9696

9797
/// <summary>
98-
/// The client ID for your API app. Mandatory from August 1st, 2025. Until then, required if the \&quot;Client Credentials Required\&quot; setting is enabled for token refresh; optional if disabled.
98+
/// The client ID for your API app. Required for new API apps. To enhance security, we recommend making it required for existing apps in your app settings.
9999
/// </summary>
100-
/// <value>The client ID for your API app. Mandatory from August 1st, 2025. Until then, required if the \&quot;Client Credentials Required\&quot; setting is enabled for token refresh; optional if disabled.</value>
100+
/// <value>The client ID for your API app. Required for new API apps. To enhance security, we recommend making it required for existing apps in your app settings.</value>
101101
[DataMember(Name = "client_id", EmitDefaultValue = true)]
102102
public string ClientId { get; set; }
103103

104104
/// <summary>
105-
/// The client secret for your API app. Mandatory from August 1st, 2025. Until then, required if the \&quot;Client Credentials Required\&quot; setting is enabled for token refresh; optional if disabled.
105+
/// The client secret for your API app. Required for new API apps. To enhance security, we recommend making it required for existing apps in your app settings.
106106
/// </summary>
107-
/// <value>The client secret for your API app. Mandatory from August 1st, 2025. Until then, required if the \&quot;Client Credentials Required\&quot; setting is enabled for token refresh; optional if disabled.</value>
107+
/// <value>The client secret for your API app. Required for new API apps. To enhance security, we recommend making it required for existing apps in your app settings.</value>
108108
[DataMember(Name = "client_secret", EmitDefaultValue = true)]
109109
public string ClientSecret { get; set; }
110110

sdks/java-v1/.github/workflows/github-actions.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ jobs:
4848
java-version: 11
4949

5050
- name: Upload Artifacts
51-
run: ./gradlew publishAllPublicationsToMavenCentralRepository --no-daemon --no-parallel --no-configuration-cache --stacktrace
51+
run: ./gradlew publishToMavenCentral --no-daemon --no-parallel --no-configuration-cache --stacktrace
5252
env:
5353
ORG_GRADLE_PROJECT_mavenCentralUsername: ${{ secrets.SONATYPE_USERNAME }}
5454
ORG_GRADLE_PROJECT_mavenCentralPassword: ${{ secrets.SONATYPE_PASSWORD }}
@@ -59,7 +59,7 @@ jobs:
5959
run: echo "PACKAGE_VERSION=$(cat VERSION)" >> $GITHUB_ENV
6060

6161
- name: Publish Release to Maven Central
62-
run: ./gradlew closeAndReleaseRepository --no-daemon --no-parallel
62+
run: ./gradlew releaseRepository --no-daemon --no-parallel
6363
if: "!endsWith(env.PACKAGE_VERSION, '-SNAPSHOT')"
6464
env:
6565
ORG_GRADLE_PROJECT_mavenCentralUsername: ${{ secrets.SONATYPE_USERNAME }}

sdks/java-v1/build.gradle

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ buildscript {
1111
}
1212

1313
plugins {
14-
id 'com.vanniktech.maven.publish' version '0.24.0'
14+
id 'com.vanniktech.maven.publish' version '0.34.0'
1515
id 'com.diffplug.spotless' version '6.25.0'
1616
}
1717

@@ -42,17 +42,17 @@ if (JavaVersion.current().isJava8Compatible()) {
4242
}
4343

4444
task javadocJar(type: Jar) {
45-
classifier = 'javadoc'
45+
archiveClassifier.set('javadoc')
4646
from javadoc
4747
}
4848

4949
task sourcesJar(type: Jar) {
50-
classifier = 'sources'
50+
archiveClassifier.set('sources')
5151
from sourceSets.main.allSource
5252
}
5353

5454
task fatJar(type: Jar) {
55-
classifier = 'all'
55+
archiveClassifier.set('all')
5656
duplicatesStrategy = DuplicatesStrategy.EXCLUDE
5757
from {
5858
configurations.runtimeClasspath.collect { it.isDirectory() ? it : zipTree(it) }

sdks/java-v1/docs/OAuthTokenRefreshRequest.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@
1010
|------------ | ------------- | ------------- | -------------|
1111
| `grantType`<sup>*_required_</sup> | ```String``` | When refreshing an existing token use `refresh_token`. | |
1212
| `refreshToken`<sup>*_required_</sup> | ```String``` | The token provided when you got the expired access token. | |
13-
| `clientId` | ```String``` | The client ID for your API app. Mandatory from August 1st, 2025. Until then, required if the &quot;Client Credentials Required&quot; setting is enabled for token refresh; optional if disabled. | |
14-
| `clientSecret` | ```String``` | The client secret for your API app. Mandatory from August 1st, 2025. Until then, required if the &quot;Client Credentials Required&quot; setting is enabled for token refresh; optional if disabled. | |
13+
| `clientId` | ```String``` | The client ID for your API app. Required for new API apps. To enhance security, we recommend making it required for existing apps in your app settings. | |
14+
| `clientSecret` | ```String``` | The client secret for your API app. Required for new API apps. To enhance security, we recommend making it required for existing apps in your app settings. | |
1515

1616

1717

sdks/java-v1/gradle.properties

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,8 @@ POM_DEVELOPER_ID=dropbox-sign-api-team
2424
POM_DEVELOPER_NAME=Dropbox Sign API Team
2525
POM_DEVELOPER_URL=https://hellosign.com
2626

27-
SONATYPE_HOST=S01
28-
RELEASE_SIGNING_ENABLED=true
27+
mavenCentralPublishing=true
28+
signAllPublications=true
2929

3030
SONATYPE_CONNECT_TIMEOUT_SECONDS=300
3131
SONATYPE_CLOSE_TIMEOUT_SECONDS=900

sdks/java-v1/gradle/wrapper/gradle-wrapper.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
distributionBase=GRADLE_USER_HOME
22
distributionPath=wrapper/dists
3-
distributionUrl=https\://services.gradle.org/distributions/gradle-7.6.1-bin.zip
3+
distributionUrl=https\://services.gradle.org/distributions/gradle-8.7-bin.zip
44
networkTimeout=10000
55
validateDistributionUrl=true
66
zipStoreBase=GRADLE_USER_HOME

sdks/java-v1/src/main/java/com/dropbox/sign/model/OAuthTokenRefreshRequest.java

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -117,9 +117,8 @@ public OAuthTokenRefreshRequest clientId(@javax.annotation.Nullable String clien
117117
}
118118

119119
/**
120-
* The client ID for your API app. Mandatory from August 1st, 2025. Until then, required if the
121-
* \&quot;Client Credentials Required\&quot; setting is enabled for token refresh; optional if
122-
* disabled.
120+
* The client ID for your API app. Required for new API apps. To enhance security, we recommend
121+
* making it required for existing apps in your app settings.
123122
*
124123
* @return clientId
125124
*/
@@ -141,9 +140,8 @@ public OAuthTokenRefreshRequest clientSecret(@javax.annotation.Nullable String c
141140
}
142141

143142
/**
144-
* The client secret for your API app. Mandatory from August 1st, 2025. Until then, required if
145-
* the \&quot;Client Credentials Required\&quot; setting is enabled for token refresh; optional
146-
* if disabled.
143+
* The client secret for your API app. Required for new API apps. To enhance security, we
144+
* recommend making it required for existing apps in your app settings.
147145
*
148146
* @return clientSecret
149147
*/

0 commit comments

Comments
 (0)