You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jun 30, 2023. It is now read-only.
This change fixes path parameter deserialization when the parameter is
an array-like structure. Previously, this only worked for query
parameters, and a string literal was injected as an array for path
parameters.
Copy file name to clipboardExpand all lines: endpoints-framework/src/test/java/com/google/api/server/spi/request/RestServletRequestParamReaderTest.java
+27-5
Original file line number
Diff line number
Diff line change
@@ -35,6 +35,7 @@
35
35
importcom.google.common.collect.ImmutableList;
36
36
importcom.google.common.collect.ImmutableMap;
37
37
38
+
importjava.util.ArrayList;
38
39
importorg.junit.Before;
39
40
importorg.junit.Test;
40
41
importorg.junit.runner.RunWith;
@@ -61,6 +62,7 @@ public class RestServletRequestParamReaderTest {
61
62
privateEndpointMethodendpointMethod;
62
63
privateMockHttpServletRequestrequest;
63
64
privateApiSerializationConfigserializationConfig;
65
+
privateApiConfigapiConfig;
64
66
privateApiMethodConfigmethodConfig;
65
67
66
68
@Before
@@ -72,13 +74,12 @@ public void setUp() throws Exception {
0 commit comments