diff --git a/packages/infrastructure/samples/infrastructure/java/src/java/groupId/constructs/websites/WebsiteConstruct.java.mustache b/packages/infrastructure/samples/infrastructure/java/src/java/groupId/constructs/websites/WebsiteConstruct.java.mustache index ee77249da..9119482d6 100644 --- a/packages/infrastructure/samples/infrastructure/java/src/java/groupId/constructs/websites/WebsiteConstruct.java.mustache +++ b/packages/infrastructure/samples/infrastructure/java/src/java/groupId/constructs/websites/WebsiteConstruct.java.mustache @@ -37,7 +37,7 @@ public class {{{websiteName}}} extends Construct { "{{{apiName}}}", {{{apiNameLowercase}}}.api.getApi().urlForPath(){{^isLast}},{{/isLast}} {{/typeSafeApis}} ), - "typeSafeWebSocketApis": Map.of() + "typeSafeWebSocketApis", Map.of() ))) .build()) .build()); diff --git a/packages/infrastructure/test/projects/java/__snapshots__/infrastructure-java-project.test.ts.snap b/packages/infrastructure/test/projects/java/__snapshots__/infrastructure-java-project.test.ts.snap index 8cb99ab7e..0a9cbb5c5 100644 --- a/packages/infrastructure/test/projects/java/__snapshots__/infrastructure-java-project.test.ts.snap +++ b/packages/infrastructure/test/projects/java/__snapshots__/infrastructure-java-project.test.ts.snap @@ -2713,7 +2713,7 @@ public class Website extends Construct { "userPoolWebClientId", userIdentity.getUserPoolClient().getUserPoolClientId(), "typeSafeApis", Map.of( ), - "typeSafeWebSocketApis": Map.of() + "typeSafeWebSocketApis", Map.of() ))) .build()) .build()); @@ -3865,7 +3865,7 @@ public class Website extends Construct { "userPoolWebClientId", userIdentity.getUserPoolClient().getUserPoolClientId(), "typeSafeApis", Map.of( ), - "typeSafeWebSocketApis": Map.of() + "typeSafeWebSocketApis", Map.of() ))) .build()) .build()); @@ -5020,7 +5020,7 @@ public class Website extends Construct { "userPoolWebClientId", userIdentity.getUserPoolClient().getUserPoolClientId(), "typeSafeApis", Map.of( ), - "typeSafeWebSocketApis": Map.of() + "typeSafeWebSocketApis", Map.of() ))) .build()) .build()); @@ -5069,7 +5069,7 @@ public class Website2 extends Construct { "Api", api.api.getApi().urlForPath(), "Api2", api2.api.getApi().urlForPath() ), - "typeSafeWebSocketApis": Map.of() + "typeSafeWebSocketApis", Map.of() ))) .build()) .build()); @@ -6137,7 +6137,7 @@ public class Website extends Construct { "userPoolWebClientId", userIdentity.getUserPoolClient().getUserPoolClientId(), "typeSafeApis", Map.of( ), - "typeSafeWebSocketApis": Map.of() + "typeSafeWebSocketApis", Map.of() ))) .build()) .build()); @@ -6186,7 +6186,7 @@ public class Website2 extends Construct { "Api", api.api.getApi().urlForPath(), "Api2", api2.api.getApi().urlForPath() ), - "typeSafeWebSocketApis": Map.of() + "typeSafeWebSocketApis", Map.of() ))) .build()) .build()); @@ -7160,7 +7160,7 @@ public class Website extends Construct { "userPoolWebClientId", userIdentity.getUserPoolClient().getUserPoolClientId(), "typeSafeApis", Map.of( ), - "typeSafeWebSocketApis": Map.of() + "typeSafeWebSocketApis", Map.of() ))) .build()) .build());