Skip to content

Commit

Permalink
Populate Operation Context Params in Endpoint Instruction Provider
Browse files Browse the repository at this point in the history
  • Loading branch information
trivikr committed Aug 28, 2024
1 parent e18086e commit e8e2efb
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -299,6 +299,12 @@ private void generateEndpointParameterInstructionProvider() {
}
paramNames.add(name);
});

parameterFinder.getOperationContextParamValues(operationInput).forEach((name, jmesPathForInputInJs) -> {
writer.write(
"$L: { type: \"operationContextParams\", name: $L },",
name, jmesPathForInputInJs);
});
}
writer.write("})")
.dedent();
Expand Down

0 comments on commit e8e2efb

Please sign in to comment.