Skip to content

Commit

Permalink
chore(codegen): checkstyle fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
siddsriv committed Jun 18, 2024
1 parent ca49627 commit 7648a7b
Showing 1 changed file with 6 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,21 +4,22 @@
*/

package software.amazon.smithy.aws.typescript.codegen;

import software.amazon.smithy.typescript.codegen.TypeScriptCodegenContext;
import software.amazon.smithy.typescript.codegen.endpointsV2.OmitEndpointParams;
import software.amazon.smithy.typescript.codegen.integration.TypeScriptIntegration;
import software.amazon.smithy.typescript.codegen.endpointsV2.OmitEndpointParams;
import software.amazon.smithy.utils.SetUtils;
import software.amazon.smithy.utils.SmithyInternalApi;

@SmithyInternalApi
public class AddOmittedEndpointParams implements TypeScriptIntegration {

@Override
public void customize(TypeScriptCodegenContext codegenContext) {
setParamForOmission();
}

private void setParamForOmission() {
OmitEndpointParams.addOmittedParams(SetUtils.of("AccountId"));
}
}
}

0 comments on commit 7648a7b

Please sign in to comment.