diff --git a/codegen/smithy-dafny-codegen/src/main/java/software/amazon/polymorph/smithygo/localservice/DafnyLocalServiceTypeConversionProtocol.java b/codegen/smithy-dafny-codegen/src/main/java/software/amazon/polymorph/smithygo/localservice/DafnyLocalServiceTypeConversionProtocol.java index 53bd21b88..530a08676 100644 --- a/codegen/smithy-dafny-codegen/src/main/java/software/amazon/polymorph/smithygo/localservice/DafnyLocalServiceTypeConversionProtocol.java +++ b/codegen/smithy-dafny-codegen/src/main/java/software/amazon/polymorph/smithygo/localservice/DafnyLocalServiceTypeConversionProtocol.java @@ -65,6 +65,8 @@ public void generateSerializers(final GenerationContext context) { final var writerDelegator = context.writerDelegator(); serviceShape .getOperations() + .stream() + .sorted() .forEach(eachOperation -> { final var operation = model.expectShape( eachOperation, @@ -215,6 +217,8 @@ public void generateSerializers(final GenerationContext context) { ); resourceShape .getOperations() + .stream() + .sorted() .forEach(eachOperation -> { final var operation = model.expectShape( eachOperation, @@ -425,6 +429,8 @@ public void generateDeserializers(final GenerationContext context) { serviceShape .getOperations() + .stream() + .sorted() .forEach(eachOperation -> { final var operation = context .model() @@ -590,6 +596,8 @@ public void generateDeserializers(final GenerationContext context) { .expectShape(resource, ResourceShape.class); resourceShape .getOperations() + .stream() + .sorted() .forEach(eachOperation -> { final var operation = context .model()