Skip to content

Commit 91c1b6c

Browse files
chore: update tests
1 parent 7004531 commit 91c1b6c

File tree

1 file changed

+49
-0
lines changed

1 file changed

+49
-0
lines changed

test.yaml

Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -865,6 +865,55 @@ paths:
865865
"Headerparam": "headerValue"
866866
}
867867
}
868+
/anything/allowEmptyValue:
869+
get:
870+
operationId: allowEmptyValueQueryParams
871+
tags:
872+
- parameters
873+
parameters:
874+
- name: strParam
875+
in: query
876+
description: Empty strings are included by default
877+
schema:
878+
type: string
879+
- name: arrParamOmitEmpty
880+
in: query
881+
description: Empty arrays are omitted by default
882+
schema:
883+
type: array
884+
items:
885+
type: string
886+
- name: nullableStrParam
887+
in: query
888+
schema:
889+
type: string
890+
nullable: true
891+
x-speakeasy-allow-empty-value: true
892+
- name: numParam
893+
in: query
894+
schema:
895+
type: integer
896+
x-speakeasy-allow-empty-value: true
897+
- name: arrParam
898+
in: query
899+
schema:
900+
type: array
901+
items:
902+
type: string
903+
x-speakeasy-allow-empty-value: true
904+
responses:
905+
"200":
906+
description: OK
907+
content:
908+
application/json:
909+
schema:
910+
title: res
911+
type: object
912+
properties:
913+
url:
914+
type: string
915+
args:
916+
type: object
868917
/anything/flatParametersOrdering/{requiredPathParam}:
869918
post:
870919
operationId: flatParametersOrdering

0 commit comments

Comments
 (0)