-
Notifications
You must be signed in to change notification settings - Fork 0
/
stainless-config.yml
217 lines (180 loc) · 4.67 KB
/
stainless-config.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
# yaml-language-server: $schema=https://app.stainlessapi.com/config.schema.json
organization:
name: onebusaway-sdk
docs: https://developer.onebusaway.org
contact: [email protected]
resources:
agencies_with_coverage:
methods:
list:
endpoint: get /api/where/agencies-with-coverage.json
paginated: false
agency:
methods:
retrieve: get /api/where/agency/{agencyID}.json
vehicles_for_agency:
methods:
list:
endpoint: get /api/where/vehicles-for-agency/{agencyID}.json
paginated: false
config:
methods:
retrieve: get /api/where/config.json
current_time:
methods:
retrieve: get /api/where/current-time.json
stops_for_location:
methods:
list:
endpoint: get /api/where/stops-for-location.json
paginated: false
stops_for_route:
methods:
list:
endpoint: get /api/where/stops-for-route/{routeID}.json
paginated: false
stops_for_agency:
methods:
list:
endpoint: get /api/where/stops-for-agency/{agencyID}.json
paginated: false
stop:
methods:
retrieve: get /api/where/stop/{stopID}.json
stop_ids_for_agency:
methods:
list:
endpoint: get /api/where/stop-ids-for-agency/{agencyID}.json
paginated: false
schedule_for_stop:
methods:
retrieve: get /api/where/schedule-for-stop/{stopID}.json
route:
methods:
retrieve: get /api/where/route/{routeID}.json
route_ids_for_agency:
methods:
list:
endpoint: get /api/where/route-ids-for-agency/{agencyID}.json
paginated: false
routes_for_location:
methods:
list:
endpoint: get /api/where/routes-for-location.json
paginated: false
routes_for_agency:
methods:
list:
endpoint: get /api/where/routes-for-agency/{agencyID}.json
paginated: false
schedule_for_route:
methods:
retrieve: get /api/where/schedule-for-route/{routeID}.json
arrival_and_departure:
methods:
list:
endpoint: get /api/where/arrivals-and-departures-for-stop/{stopID}.json
paginated: false
retrieve: get /api/where/arrival-and-departure-for-stop/{stopID}.json
trip:
methods:
retrieve: get /api/where/trip/{tripID}.json
trips_for_location:
methods:
list:
endpoint: get /api/where/trips-for-location.json
paginated: false
trip-details:
methods:
retrieve: get /api/where/trip-details/{tripID}.json
trip_for_vehicle:
methods:
retrieve: get /api/where/trip-for-vehicle/{vehicleID}.json
trips_for_route:
methods:
list:
endpoint: get /api/where/trips-for-route/{routeID}.json
paginated: false
report_problem_with_stop:
methods:
retrieve: get /api/where/report-problem-with-stop/{stopID}.json
report_problem_with_trip:
methods:
retrieve: get /api/where/report-problem-with-trip/{tripID}.json
search_for_stop:
methods:
list:
endpoint: get /api/where/search/stop.json
paginated: false
search_for_route:
methods:
list:
endpoint: get /api/where/search/route.json
paginated: false
block:
methods:
retrieve: get /api/where/block/{blockID}.json
shape:
methods:
retrieve: get /api/where/shape/{shapeID}.json
$shared:
models:
references: Reference
response_wrapper: ResponseWrapper
targets:
node:
package_name: onebusaway-sdk
production_repo: OneBusAway/js-sdk
publish:
npm: true
python:
package_name: onebusaway
production_repo: OneBusAway/python-sdk
publish:
pypi: true
go:
package_name: onebusaway
production_repo: OneBusAway/go-sdk
skip: false
java:
reverse_domain: org.onebusaway
production_repo: OneBusAway/java-sdk
publish:
maven:
sonatype_platform: portal
skip: false
kotlin:
reverse_domain: org.onebusaway
production_repo: OneBusAway/kotlin-sdk
publish:
maven:
sonatype_platform: portal
skip: false
settings:
license: Apache-2.0
client_settings:
opts:
api_key:
type: string
auth:
security_scheme: ApiKeyAuth
read_env: ONEBUSAWAY_API_KEY
environments:
production: https://api.pugetsound.onebusaway.org
query_settings:
nested_format: brackets
array_format: repeat
readme:
example_requests:
default:
type: request
endpoint: get /api/where/current-time.json
params: &ref_0 {}
headline:
type: request
endpoint: get /api/where/current-time.json
params: *ref_0
pagination:
type: request
endpoint: get /api/where/agencies-with-coverage.json
params: {}