Skip to content

Commit 9814afb

Browse files
committed
🎨 Adding serializable to HALLink
1 parent c123b57 commit 9814afb

File tree

1 file changed

+3
-1
lines changed
  • src/main/java/io/openapitools/jackson/dataformat/hal

1 file changed

+3
-1
lines changed

src/main/java/io/openapitools/jackson/dataformat/hal/HALLink.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
package io.openapitools.jackson.dataformat.hal;
22

3+
import java.io.Serializable;
34
import java.net.URI;
45
import java.net.URL;
56

@@ -18,7 +19,8 @@
1819
* aspect in the link object, here named {@code seen}. Due to the HyperText Cache Pattern it is included in the link.
1920
*/
2021
@JsonInclude(JsonInclude.Include.NON_NULL)
21-
public class HALLink {
22+
public class HALLink implements Serializable {
23+
private static final long serialVersionUID = 1L;
2224

2325
private String href;
2426
private Boolean templated;

0 commit comments

Comments
 (0)