Skip to content

Commit 2d9b185

Browse files
feat(api): fix array query parameter formatting
Use repeated query parameters rather than comma-separated ones, to match the API behavior.
1 parent f3a8895 commit 2d9b185

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

.stats.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
configured_endpoints: 3
22
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/warp-bnavetta%2Fwarp-api-c4c5f89f67a73e4d17377d2b96fc201a63cd5458cbebaa23e78f92b59b90cc5b.yml
33
openapi_spec_hash: 931c6189a4fc4ee320963646b1b7edbe
4-
config_hash: fa393af196be851b15bd1394c2eaafaa
4+
config_hash: b49703ba227fb054134b67a208cef299

LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,7 @@
186186
same "printed page" as the copyright notice for easier
187187
identification within third-party archives.
188188

189-
Copyright 2025 Warp API
189+
Copyright 2026 Warp API
190190

191191
Licensed under the Apache License, Version 2.0 (the "License");
192192
you may not use this file except in compliance with the License.

src/client.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -213,7 +213,7 @@ export class WarpAPI {
213213
}
214214

215215
protected stringifyQuery(query: Record<string, unknown>): string {
216-
return qs.stringify(query, { arrayFormat: 'comma' });
216+
return qs.stringify(query, { arrayFormat: 'repeat' });
217217
}
218218

219219
private getUserAgent(): string {

0 commit comments

Comments
 (0)