Skip to content

Commit dd7a80b

Browse files
author
Slawek Nowak
committed
add Img alias to ResourceType
1 parent 39c8952 commit dd7a80b

File tree

1 file changed

+2
-0
lines changed
  • cdt-java-client/src/main/java/com/github/kklisura/cdt/protocol/types/network

1 file changed

+2
-0
lines changed

cdt-java-client/src/main/java/com/github/kklisura/cdt/protocol/types/network/ResourceType.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@
2020
* #L%
2121
*/
2222

23+
import com.fasterxml.jackson.annotation.JsonAlias;
2324
import com.fasterxml.jackson.annotation.JsonProperty;
2425

2526
/** Resource type as it was perceived by the rendering engine. */
@@ -29,6 +30,7 @@ public enum ResourceType {
2930
@JsonProperty("Stylesheet")
3031
STYLESHEET,
3132
@JsonProperty("Image")
33+
@JsonAlias("Img")
3234
IMAGE,
3335
@JsonProperty("Media")
3436
MEDIA,

0 commit comments

Comments
 (0)