Skip to content

Commit 20f17b8

Browse files
committed
test: Add test for multiple path params with constants interspersed.
1 parent aa63b86 commit 20f17b8

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

end_to_end_tests/golden-record/my_test_api_client/api/parameters/multiple_path_parameters.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ def _get_kwargs(
1414
*,
1515
client: Client,
1616
) -> Dict[str, Any]:
17-
url = "{}/multiple-path-parameters/{param4}/{param2}/{param1}/{param3}".format(
17+
url = "{}/multiple-path-parameters/{param4}/something/{param2}/{param1}/{param3}".format(
1818
client.base_url, param4=param4, param2=param2, param1=param1, param3=param3
1919
)
2020

end_to_end_tests/openapi.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -833,7 +833,7 @@
833833
}
834834
}
835835
},
836-
"/multiple-path-parameters/{param4}/{param2}/{param1}/{param3}": {
836+
"/multiple-path-parameters/{param4}/something/{param2}/{param1}/{param3}": {
837837
"description": "Test that multiple path parameters are ordered by appearance in path",
838838
"get": {
839839
"tags": [

0 commit comments

Comments
 (0)