Skip to content

Commit 6c14a02

Browse files
committed
Fix cbor client generation add path segment bug
1 parent 6b5ac07 commit 6c14a02

File tree

1 file changed

+1
-1
lines changed
  • tools/code-generation/generator/src/main/resources/com/amazonaws/util/awsclientgenerator/velocity/cpp/common

1 file changed

+1
-1
lines changed

tools/code-generation/generator/src/main/resources/com/amazonaws/util/awsclientgenerator/velocity/cpp/common/UriRequestQueryParams.vm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ ${indent} CoreErrors::ENDPOINT_RESOLUTION_FAILURE, "ENDPOINT_RESOLUTION
3636
${indent} return;
3737
${indent} }
3838
#end
39-
#if($serviceModel.metadata.protocol == "smithy-rpc-v2-cbor")
39+
#if($metadata.findFirstSupportedProtocol() == "smithy-rpc-v2-cbor")
4040
${indent} endpointResolutionOutcome.GetResult().AddPathSegment("/service/${serviceModel.metadata.targetPrefix}/operation/${operation.name}");
4141
#end
4242
#if($operation.http.requestUri.contains("?"))

0 commit comments

Comments
 (0)