Skip to content

Commit 2f06840

Browse files
Merge pull request #68 from OneBusAway/release-please--branches--main--changes--next
release: 0.1.0-alpha.23
2 parents 422d8ba + 94e5a7b commit 2f06840

23 files changed

+923
-40
lines changed

.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.1.0-alpha.22"
2+
".": "0.1.0-alpha.23"
33
}

.stats.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
configured_endpoints: 28
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/open-transit%2Fopen-transit-d04668d97c66a80708cb1896ce9638dc2b55670ed447b67d9833f6a5349cc210.yml
1+
configured_endpoints: 29
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/open-transit%2Fopen-transit-6f08502508c8ad25235971add3124a1cde4f1c3ec705d5df455d750e0adcb90b.yml

CHANGELOG.md

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

3+
## 0.1.0-alpha.23 (2024-11-29)
4+
5+
Full Changelog: [v0.1.0-alpha.22...v0.1.0-alpha.23](https://github.com/OneBusAway/java-sdk/compare/v0.1.0-alpha.22...v0.1.0-alpha.23)
6+
7+
### Features
8+
9+
* **api:** api update ([#65](https://github.com/OneBusAway/java-sdk/issues/65)) ([e1cdfe0](https://github.com/OneBusAway/java-sdk/commit/e1cdfe0c4376e95396eea0752e59364e9a271c39))
10+
* **api:** api update ([#67](https://github.com/OneBusAway/java-sdk/issues/67)) ([96c38d4](https://github.com/OneBusAway/java-sdk/commit/96c38d45b4f5bf26e086a11fe79306325e19b2a7))
11+
312
## 0.1.0-alpha.22 (2024-11-05)
413

514
Full Changelog: [v0.1.0-alpha.21...v0.1.0-alpha.22](https://github.com/OneBusAway/java-sdk/compare/v0.1.0-alpha.21...v0.1.0-alpha.22)

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/org.onebusaway/onebusaway-sdk-java)](https://central.sonatype.com/artifact/org.onebusaway/onebusaway-sdk-java/0.1.0-alpha.22)
5+
[![Maven Central](https://img.shields.io/maven-central/v/org.onebusaway/onebusaway-sdk-java)](https://central.sonatype.com/artifact/org.onebusaway/onebusaway-sdk-java/0.1.0-alpha.23)
66

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

@@ -27,7 +27,7 @@ The REST API documentation can be found on [developer.onebusaway.org](https://d
2727
<!-- x-release-please-start-version -->
2828

2929
```kotlin
30-
implementation("org.onebusaway:onebusaway-sdk-java:0.1.0-alpha.22")
30+
implementation("org.onebusaway:onebusaway-sdk-java:0.1.0-alpha.23")
3131
```
3232

3333
#### Maven
@@ -36,7 +36,7 @@ implementation("org.onebusaway:onebusaway-sdk-java:0.1.0-alpha.22")
3636
<dependency>
3737
<groupId>org.onebusaway</groupId>
3838
<artifactId>onebusaway-sdk-java</artifactId>
39-
<version>0.1.0-alpha.22</version>
39+
<version>0.1.0-alpha.23</version>
4040
</dependency>
4141
```
4242

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 = "org.onebusaway"
7-
version = "0.1.0-alpha.22" // x-release-please-version
7+
version = "0.1.0-alpha.23" // x-release-please-version
88
}
99

1010

onebusaway-sdk-java-core/src/main/kotlin/org/onebusaway/client/OnebusawaySdkClient.kt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,8 @@ interface OnebusawaySdkClient {
2323

2424
fun stopsForRoute(): StopsForRouteService
2525

26+
fun stopsForAgency(): StopsForAgencyService
27+
2628
fun stop(): StopService
2729

2830
fun stopIdsForAgency(): StopIdsForAgencyService

onebusaway-sdk-java-core/src/main/kotlin/org/onebusaway/client/OnebusawaySdkClientAsync.kt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,8 @@ interface OnebusawaySdkClientAsync {
2323

2424
fun stopsForRoute(): StopsForRouteServiceAsync
2525

26+
fun stopsForAgency(): StopsForAgencyServiceAsync
27+
2628
fun stop(): StopServiceAsync
2729

2830
fun stopIdsForAgency(): StopIdsForAgencyServiceAsync

onebusaway-sdk-java-core/src/main/kotlin/org/onebusaway/client/OnebusawaySdkClientAsyncImpl.kt

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,10 @@ constructor(
5151
StopsForRouteServiceAsyncImpl(clientOptionsWithUserAgent)
5252
}
5353

54+
private val stopsForAgency: StopsForAgencyServiceAsync by lazy {
55+
StopsForAgencyServiceAsyncImpl(clientOptionsWithUserAgent)
56+
}
57+
5458
private val stop: StopServiceAsync by lazy { StopServiceAsyncImpl(clientOptionsWithUserAgent) }
5559

5660
private val stopIdsForAgency: StopIdsForAgencyServiceAsync by lazy {
@@ -143,6 +147,8 @@ constructor(
143147

144148
override fun stopsForRoute(): StopsForRouteServiceAsync = stopsForRoute
145149

150+
override fun stopsForAgency(): StopsForAgencyServiceAsync = stopsForAgency
151+
146152
override fun stop(): StopServiceAsync = stop
147153

148154
override fun stopIdsForAgency(): StopIdsForAgencyServiceAsync = stopIdsForAgency

onebusaway-sdk-java-core/src/main/kotlin/org/onebusaway/client/OnebusawaySdkClientImpl.kt

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,10 @@ constructor(
4949
StopsForRouteServiceImpl(clientOptionsWithUserAgent)
5050
}
5151

52+
private val stopsForAgency: StopsForAgencyService by lazy {
53+
StopsForAgencyServiceImpl(clientOptionsWithUserAgent)
54+
}
55+
5256
private val stop: StopService by lazy { StopServiceImpl(clientOptionsWithUserAgent) }
5357

5458
private val stopIdsForAgency: StopIdsForAgencyService by lazy {
@@ -135,6 +139,8 @@ constructor(
135139

136140
override fun stopsForRoute(): StopsForRouteService = stopsForRoute
137141

142+
override fun stopsForAgency(): StopsForAgencyService = stopsForAgency
143+
138144
override fun stop(): StopService = stop
139145

140146
override fun stopIdsForAgency(): StopIdsForAgencyService = stopIdsForAgency

onebusaway-sdk-java-core/src/main/kotlin/org/onebusaway/models/References.kt

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2175,7 +2175,7 @@ private constructor(
21752175

21762176
private var validated: Boolean = false
21772177

2178-
fun code(): String = code.getRequired("code")
2178+
fun code(): Optional<String> = Optional.ofNullable(code.getNullable("code"))
21792179

21802180
fun direction(): Optional<String> = Optional.ofNullable(direction.getNullable("direction"))
21812181

@@ -2190,13 +2190,11 @@ private constructor(
21902190

21912191
fun name(): String = name.getRequired("name")
21922192

2193-
fun parent(): Optional<String> = Optional.ofNullable(parent.getNullable("parent"))
2193+
fun parent(): String = parent.getRequired("parent")
21942194

2195-
fun routeIds(): Optional<List<String>> =
2196-
Optional.ofNullable(routeIds.getNullable("routeIds"))
2195+
fun routeIds(): List<String> = routeIds.getRequired("routeIds")
21972196

2198-
fun staticRouteIds(): Optional<List<String>> =
2199-
Optional.ofNullable(staticRouteIds.getNullable("staticRouteIds"))
2197+
fun staticRouteIds(): List<String> = staticRouteIds.getRequired("staticRouteIds")
22002198

22012199
fun wheelchairBoarding(): Optional<String> =
22022200
Optional.ofNullable(wheelchairBoarding.getNullable("wheelchairBoarding"))

0 commit comments

Comments
 (0)