Skip to content

Commit a084686

Browse files
committed
#786 - Deprecate VndErrors and VndError.
1 parent 20bff3e commit a084686

File tree

1 file changed

+5
-0
lines changed
  • src/main/java/org/springframework/hateoas/mediatype/vnderrors

1 file changed

+5
-0
lines changed

src/main/java/org/springframework/hateoas/mediatype/vnderrors/VndErrors.java

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,10 +45,12 @@
4545
* @see https://github.com/blongden/vnd.error
4646
* @author Oliver Gierke
4747
* @author Greg Turnquist
48+
* @deprecated Use {@link org.springframework.hateoas.mediatype.problem.Problem} to form vendor neutral error messages.
4849
*/
4950
@JsonPropertyOrder({ "message", "logref", "total", "_links", "_embedded" })
5051
@JsonIgnoreProperties(ignoreUnknown = true)
5152
@EqualsAndHashCode
53+
@Deprecated
5254
public class VndErrors extends CollectionModel<VndErrors.VndError> {
5355

5456
/**
@@ -212,10 +214,13 @@ public String toString() {
212214
*
213215
* @author Oliver Gierke
214216
* @author Greg Turnquist
217+
*
218+
* @deprecated Use {@link org.springframework.hateoas.mediatype.problem.Problem} to form vendor neutral error messages.
215219
*/
216220
@JsonPropertyOrder({ "message", "path", "logref" })
217221
@Relation(collectionRelation = "errors")
218222
@EqualsAndHashCode
223+
@Deprecated
219224
public static class VndError extends RepresentationModel<VndError> {
220225

221226
@Getter //

0 commit comments

Comments
 (0)