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
I'm using Spring REST Docs (2.0.3.RELEASE) and MockMvc (spring-test 5.0.5.RELEASE).
When the documented request contains a query parameter that has no assigned value (empty string) the snippets produced by CliDocumentation.curlRequest() and HttpDocumentation.httpRequest() show the parameter duplicated.
I'm using Spring REST Docs (2.0.3.RELEASE) and MockMvc (spring-test 5.0.5.RELEASE).
When the documented request contains a query parameter that has no assigned value (empty string) the snippets produced by
CliDocumentation.curlRequest()
andHttpDocumentation.httpRequest()
show the parameter duplicated.My setup:
My test:
The curl snippet (note the
?code=&code=
):This appears to be similar to #286, however this only happens for valueless parameters and that bug was fixed in version 1.1.2.RELEASE.
The text was updated successfully, but these errors were encountered: