Skip to content

Commit

Permalink
Add isMultiLine property to stringParam response
Browse files Browse the repository at this point in the history
  • Loading branch information
jernestmyers committed Jan 24, 2024
1 parent 04761d0 commit a4fbdca
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ public class StringParamFormatter extends ParamFormatter<StringParam> {

@Override
public <S extends ParameterContainerInstanceSpec<S>> JSONObject getJson(DisplayablyValid<S> spec) throws WdkModelException {
return getBaseJson(spec).put(JsonKeys.LENGTH, _param.getLength());
return getBaseJson(spec).put(JsonKeys.LENGTH, _param.getLength()).put(JsonKeys.IS_MULTILINE, _param.getMultiLine());
}

@Override
Expand Down

0 comments on commit a4fbdca

Please sign in to comment.