Skip to content

Commit afd03ee

Browse files
stainless-botstainless-app[bot]
authored andcommitted
docs(examples): fix example snippets
1 parent 805a593 commit afd03ee

7 files changed

Lines changed: 10 additions & 18 deletions

File tree

.release-please-manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
{
2-
".": "0.27.2"
2+
".": "0.27.1"
33
}

.stats.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
configured_endpoints: 34
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/finch-69265939ed1aa33d9890c86a334730210985961db56757efc28ff43696fbd1a7.yml
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/finch-a278884107d48c04133891fff0d1123a97169758e2baa82411009277932795af.yml

CHANGELOG.md

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,5 @@
11
# Changelog
22

3-
## 0.27.2 (2024-05-23)
4-
5-
Full Changelog: [v0.27.1...v0.27.2](https://github.com/Finch-API/finch-api-java/compare/v0.27.1...v0.27.2)
6-
7-
### Chores
8-
9-
* **tests:** example client_id ([#222](https://github.com/Finch-API/finch-api-java/issues/222)) ([ef19cb4](https://github.com/Finch-API/finch-api-java/commit/ef19cb432b18ca118c597c4b2244f7c1eb5c4aa6))
10-
113
## 0.27.1 (2024-05-17)
124

135
Full Changelog: [v0.27.0...v0.27.1](https://github.com/Finch-API/finch-api-java/compare/v0.27.0...v0.27.1)

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
<!-- x-release-please-start-version -->
44

5-
[![Maven Central](https://img.shields.io/maven-central/v/com.tryfinch.api/finch-java)](https://central.sonatype.com/artifact/com.tryfinch.api/finch-java/0.27.2)
5+
[![Maven Central](https://img.shields.io/maven-central/v/com.tryfinch.api/finch-java)](https://central.sonatype.com/artifact/com.tryfinch.api/finch-java/0.27.1)
66

77
<!-- x-release-please-end -->
88

@@ -25,7 +25,7 @@ The REST API documentation can be found [in the Finch Documentation Center](htt
2525
<!-- x-release-please-start-version -->
2626

2727
```kotlin
28-
implementation("com.tryfinch.api:finch-java:0.27.2")
28+
implementation("com.tryfinch.api:finch-java:0.27.1")
2929
```
3030

3131
#### Maven
@@ -34,7 +34,7 @@ implementation("com.tryfinch.api:finch-java:0.27.2")
3434
<dependency>
3535
<groupId>com.tryfinch.api</groupId>
3636
<artifactId>finch-java</artifactId>
37-
<version>0.27.2</version>
37+
<version>0.27.1</version>
3838
</dependency>
3939
```
4040

build.gradle.kts

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

55
allprojects {
66
group = "com.tryfinch.api"
7-
version = "0.27.2" // x-release-please-version
7+
version = "0.27.1" // x-release-please-version
88
}
99

1010
nexusPublishing {

finch-java-core/src/test/kotlin/com/tryfinch/api/models/AccessTokenCreateParamsTest.kt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ class AccessTokenCreateParamsTest {
1212
fun createAccessTokenCreateParams() {
1313
AccessTokenCreateParams.builder()
1414
.code("<your_authorization_code>")
15-
.clientId("6d28c315-5eaa-4071-8ea5-f030eb45edbc")
15+
.clientId("182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e")
1616
.clientSecret("<your_client_secret>")
1717
.redirectUri("https://example.com")
1818
.build()
@@ -23,14 +23,14 @@ class AccessTokenCreateParamsTest {
2323
val params =
2424
AccessTokenCreateParams.builder()
2525
.code("<your_authorization_code>")
26-
.clientId("6d28c315-5eaa-4071-8ea5-f030eb45edbc")
26+
.clientId("182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e")
2727
.clientSecret("<your_client_secret>")
2828
.redirectUri("https://example.com")
2929
.build()
3030
val body = params.getBody()
3131
assertThat(body).isNotNull
3232
assertThat(body.code()).isEqualTo("<your_authorization_code>")
33-
assertThat(body.clientId()).isEqualTo("6d28c315-5eaa-4071-8ea5-f030eb45edbc")
33+
assertThat(body.clientId()).isEqualTo("182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e")
3434
assertThat(body.clientSecret()).isEqualTo("<your_client_secret>")
3535
assertThat(body.redirectUri()).isEqualTo("https://example.com")
3636
}

finch-java-core/src/test/kotlin/com/tryfinch/api/services/blocking/AccessTokenServiceTest.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ class AccessTokenServiceTest {
2525
accessTokenService.create(
2626
AccessTokenCreateParams.builder()
2727
.code("<your_authorization_code>")
28-
.clientId("6d28c315-5eaa-4071-8ea5-f030eb45edbc")
28+
.clientId("182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e")
2929
.clientSecret("<your_client_secret>")
3030
.redirectUri("https://example.com")
3131
.build()

0 commit comments

Comments
 (0)