File tree 2 files changed +5
-2
lines changed
core/src/main/java/org/openapitools/openapidiff/core
2 files changed +5
-2
lines changed Original file line number Diff line number Diff line change 9
9
import java .util .Optional ;
10
10
import java .util .regex .Matcher ;
11
11
import java .util .regex .Pattern ;
12
-
13
12
import org .apache .commons .lang3 .StringUtils ;
14
13
import org .openapitools .openapidiff .core .model .Changed ;
15
14
import org .openapitools .openapidiff .core .model .ChangedParameters ;
Original file line number Diff line number Diff line change @@ -420,7 +420,11 @@ private LiTag li_changedParam(ChangedParameter changeParam) {
420
420
Parameter leftParam = changeParam .getOldParameter ();
421
421
LiTag li = li ().withText (changeParam .getName () + " in " + changeParam .getIn ());
422
422
if (changeRequired ) {
423
- li .withText (" change into " + (rightParam .getRequired () != null && rightParam .getRequired () ? "required" : "not required" ));
423
+ li .withText (
424
+ " change into "
425
+ + (rightParam .getRequired () != null && rightParam .getRequired ()
426
+ ? "required"
427
+ : "not required" ));
424
428
}
425
429
if (changeDescription ) {
426
430
li .withText (" Notes " )
You can’t perform that action at this time.
0 commit comments