Commit a0cb3fe2 authored by Matija Obreza's avatar Matija Obreza

Documented missing "metadataFilename" in images API

parent 152d55c2
......@@ -170,6 +170,7 @@ public class ApiImagesDocsTest extends AbstractRestTest {
fieldWithPath("path").description("Location (directory) of the image in the Genesys repository"),
fieldWithPath("size").description("Image size in bytes"),
fieldWithPath("filename").description("The new generated filename of the image"),
fieldWithPath("metadataFilename").description("The generated filename for image metadata"),
fieldWithPath("url").description("The relative URL to the image in Genesys repository [path+filename]"),
fieldWithPath("sha1Sum").description("SHA1 hash of the image bytes"), fieldWithPath("md5Sum").description("MD5 hash of the image bytes"),
fieldWithPath("width").description("Image width in pixels (autodetected)"), fieldWithPath("height").description("Image height in pixels (autodetected)"),
......@@ -219,7 +220,9 @@ public class ApiImagesDocsTest extends AbstractRestTest {
// ignored
fieldWithPath("active").ignored(), fieldWithPath("id").ignored(), fieldWithPath("thumbnailPath").ignored(), fieldWithPath("url").ignored(), fieldWithPath("storageFullPath").ignored()),
responseFields(fieldWithPath("uuid").ignored(), fieldWithPath("originalFilename").description("The original filename that you have provided"),
fieldWithPath("extension").ignored(), fieldWithPath("contentType").ignored(), fieldWithPath("path").ignored(), fieldWithPath("filename").ignored(),
fieldWithPath("extension").ignored(), fieldWithPath("contentType").ignored(), fieldWithPath("path").ignored(),
fieldWithPath("filename").ignored(),
fieldWithPath("metadataFilename").ignored(),
fieldWithPath("url").ignored(), fieldWithPath("sha1Sum").ignored(), fieldWithPath("md5Sum").ignored(),
// Ignored stuff
fieldWithPath("id").ignored(),
......@@ -259,6 +262,7 @@ public class ApiImagesDocsTest extends AbstractRestTest {
fieldWithPath("contentType").description("The content type of the image (autodetected when possible)"), fieldWithPath("format").description("Image format"),
fieldWithPath("path").description("Location (directory) of the image in the Genesys repository"),
fieldWithPath("filename").description("The new generated filename of the image"),
fieldWithPath("metadataFilename").description("The generated filename for image metadata"),
fieldWithPath("url").description("The relative URL to the image in Genesys repository [path+filename]"),
fieldWithPath("sha1Sum").description("SHA1 hash of the image bytes"), fieldWithPath("md5Sum").description("MD5 hash of the image bytes"),
fieldWithPath("width").description("Image width in pixels (autodetected)"), fieldWithPath("height").description("Image height in pixels (autodetected)"),
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment