Skip to content

Commit

Permalink
add sorted
Browse files Browse the repository at this point in the history
  • Loading branch information
rishav-karanjit committed Jan 8, 2025
1 parent deafa7b commit fcb691d
Showing 1 changed file with 8 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down Expand Up @@ -215,6 +217,8 @@ public void generateSerializers(final GenerationContext context) {
);
resourceShape
.getOperations()
.stream()
.sorted()
.forEach(eachOperation -> {
final var operation = model.expectShape(
eachOperation,
Expand Down Expand Up @@ -425,6 +429,8 @@ public void generateDeserializers(final GenerationContext context) {

serviceShape
.getOperations()
.stream()
.sorted()
.forEach(eachOperation -> {
final var operation = context
.model()
Expand Down Expand Up @@ -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()
Expand Down

0 comments on commit fcb691d

Please sign in to comment.