- changed status to open
Query params without value are not saved by SimpleRequest.Builder
Issue #34
resolved
According to the URI RFC a query parameter doesn't necessarily have a value. This might be a valid query string: "?request-validate&name=swagger".
But building the SimpleRequest with
builder.withQueryParams("request-validate").withQueryParams("name", "swagger").build()
only leads to the one saved query parameter: "name". "request-validate" is missing though it was on the query string.
This might lead to false rejections on:
RequestValidator#validateQueryParameters(Request, ApiOperation)
Comments (2)
-
-
- changed status to resolved
Available in v1.0.13
- Log in to comment