assertThat(pageQueryParam.getMinimum(), is(new BigDecimal(1)));
//action body types
assertThat(action.getBody().size(), is(3));
String jsonMime = "application/json";
MimeType jsonBody = action.getBody().get(jsonMime);
assertThat(jsonBody.getType(), is(jsonMime));
assertThat(jsonBody.getSchema(), containsString("\"input\": {"));
assertThat(jsonBody.getExample(), is("{ \"input\": \"hola\" }"));
String formMime = "multipart/form-data";
MimeType formBody = action.getBody().get(formMime);
assertThat(formBody.getType(), is(formMime));
assertThat(formBody.getFormParameters().size(), is(2));
List<FormParameter> form1Param = formBody.getFormParameters().get("form-1");
assertThat(form1Param.get(0).getDisplayName(), is("form 1"));
assertThat(form1Param.get(0).getDescription(), is("form 1 description"));
assertThat(form1Param.get(0).getType(), is(NUMBER));
assertThat(form1Param.get(0).isRequired(), is(true));
assertThat(form1Param.get(0).getMinimum(), is(new BigDecimal("9.5")));