We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents f479110 + 9ce6b31 commit 9db6a98Copy full SHA for 9db6a98
lib/aws_codegen/rest_json_service.ex
@@ -32,7 +32,7 @@ defmodule AWS.CodeGen.RestJSONService do
32
Enum.reduce(action.url_parameters, action.request_uri,
33
fn(parameter, acc) ->
34
name = Enum.join([~S(#{), "URI.encode(", parameter.code_name, ")", ~S(})])
35
- String.replace(acc, "{#{parameter.name}}", "#{name}")
+ String.replace(acc, "{#{parameter.location_name}}", name)
36
end) |>
37
# FIXME(jkakar) This is only here because the invoke-async method
38
# defined for the Lambda API has an apparentyl spurious trailing slash
0 commit comments