Skip to content

Commit 0e10183

Browse files
committed
explode defaults to true for query parameters
1 parent f5fbe0a commit 0e10183

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/openapi3/src/openapi.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1544,7 +1544,7 @@ function createOAPIEmitter(
15441544

15451545
if (httpProperty.options.explode !== true) {
15461546
// For query parameters(style: form) the default is explode: true https://spec.openapis.org/oas/v3.0.2#fixed-fields-9
1547-
attributes.explode = false;
1547+
attributes.explode = true;
15481548
}
15491549
const style = getParameterStyle(httpProperty.property);
15501550
if (style) {

0 commit comments

Comments
 (0)