diff --git a/genti-api/src/main/java/com/gt/genti/responseexample/service/ResponseExampleService.java b/genti-api/src/main/java/com/gt/genti/responseexample/service/ResponseExampleService.java index c2698205..fb23322e 100644 --- a/genti-api/src/main/java/com/gt/genti/responseexample/service/ResponseExampleService.java +++ b/genti-api/src/main/java/com/gt/genti/responseexample/service/ResponseExampleService.java @@ -42,11 +42,11 @@ public List getAllResponseExamples() { Collections.shuffle(examples); - Optional firstMatchingRatio_3_2 = examples.stream() - .filter(example -> PictureRatio.RATIO_3_2.equals(example.getPicture().getPictureRatio())) + Optional firstMatchingRatio_2_3 = examples.stream() + .filter(example -> PictureRatio.RATIO_2_3.equals(example.getPicture().getPictureRatio())) .findFirst(); - firstMatchingRatio_3_2.ifPresent(matchingExample -> { + firstMatchingRatio_2_3.ifPresent(matchingExample -> { examples.remove(matchingExample); examples.add(0, matchingExample); }); diff --git a/genti-domain/src/main/java/com/gt/genti/picture/PictureRatio.java b/genti-domain/src/main/java/com/gt/genti/picture/PictureRatio.java index 1d35b49b..deb47b84 100644 --- a/genti-domain/src/main/java/com/gt/genti/picture/PictureRatio.java +++ b/genti-domain/src/main/java/com/gt/genti/picture/PictureRatio.java @@ -10,9 +10,9 @@ @Getter @RequiredArgsConstructor public enum PictureRatio implements ConvertableEnum { - RATIO_3_2("RATIO_3_2", "가로3:세로2"), + RATIO_3_2("RATIO_3_2", "세로3:가로2"), NONE("NONE", "NONE"), - RATIO_2_3("RATIO_2_3", "가로2:세로3"); + RATIO_2_3("RATIO_2_3", "세로2:가로3"); private final String stringValue; private final String response;