@@ -124,7 +124,8 @@ public class ApiCropsTest extends AbstractRestTest {
.andDo(document("crop-create",
requestFields(fieldWithPath("shortName").description("Crop short name or code (e.g. maize)"),fieldWithPath("name").description("Crop name in English"),
fieldWithPath("otherNames").type(JsonFieldType.ARRAY).optional().description("Alternative spellings of the crop name"),
fieldWithPath("description").optional().description("Crop description in English")),
fieldWithPath("description").optional().description("Crop description in English")
@@ -178,7 +178,9 @@ public class ApiImagesDocsTest extends AbstractRestTest {
fieldWithPath("width").description("Image width in pixels (autodetected)"),fieldWithPath("height").description("Image height in pixels (autodetected)"),
fieldWithPath("orientation").description("LANDSCAPE or PORTRAIT orientation of the image (autodetected)"),