Skip to content

Commit c688070

Browse files
feat(api): OpenAPI spec update via Stainless API (#7)
1 parent 251a0b8 commit c688070

File tree

2 files changed

+5
-14
lines changed

2 files changed

+5
-14
lines changed

.stats.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
configured_endpoints: 14
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/open-transit%2Fopen-transit-3a44d3a64c0f613f81e7dd42644c2b2df90e8be20210428450149f771c7f13d8.yml
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/open-transit%2Fopen-transit-3cfabaee09407ed498a1483aeca8f63eeacb184750b4c22df4c14f2949f35ca5.yml

src/onebusaway/types/stop_retrieve_response.py

Lines changed: 4 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -8,15 +8,10 @@
88
from .shared.references import References
99
from .shared.response_wrapper import ResponseWrapper
1010

11-
__all__ = [
12-
"StopRetrieveResponse",
13-
"StopRetrieveResponseData",
14-
"StopRetrieveResponseDataData",
15-
"StopRetrieveResponseDataDataEntry",
16-
]
11+
__all__ = ["StopRetrieveResponse", "StopRetrieveResponseData", "StopRetrieveResponseDataEntry"]
1712

1813

19-
class StopRetrieveResponseDataDataEntry(BaseModel):
14+
class StopRetrieveResponseDataEntry(BaseModel):
2015
id: str
2116

2217
code: str
@@ -40,15 +35,11 @@ class StopRetrieveResponseDataDataEntry(BaseModel):
4035
wheelchair_boarding: Optional[str] = FieldInfo(alias="wheelchairBoarding", default=None)
4136

4237

43-
class StopRetrieveResponseDataData(BaseModel):
44-
entry: Optional[StopRetrieveResponseDataDataEntry] = None
38+
class StopRetrieveResponseData(BaseModel):
39+
entry: Optional[StopRetrieveResponseDataEntry] = None
4540

4641
references: Optional[References] = None
4742

4843

49-
class StopRetrieveResponseData(BaseModel):
50-
data: Optional[StopRetrieveResponseDataData] = None
51-
52-
5344
class StopRetrieveResponse(ResponseWrapper):
5445
data: Optional[StopRetrieveResponseData] = None

0 commit comments

Comments
 (0)