Skip to content

Commit

Permalink
deprecating previously missed classes related to built-in metadata
Browse files Browse the repository at this point in the history
  • Loading branch information
andrus committed Oct 9, 2021
1 parent 6ec9ea2 commit 7123899
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,9 @@
* Used to indicate that web method is an Agrest resource.
*
* @since 2.10
* @deprecated since 4.7, as Agrest now integrates with OpenAPI 3 / Swagger
*/
@Deprecated
@Target(ElementType.METHOD)
@Retention(RetentionPolicy.RUNTIME)
public @interface AgResource {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
* Classifies endpoints annotated with {@link AgResource}.
*
* @since 2.10
* @deprecated since 4.7, as Agrest now integrates with OpenAPI 3 / Swagger
*/
public enum LinkType {
COLLECTION, ITEM, METADATA, UNDEFINED
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
import static org.junit.jupiter.api.Assertions.assertEquals;
import static org.junit.jupiter.api.Assertions.assertThrows;

@Deprecated
public class ResourceParserTest {

private static ResourceParser resourceParser;
Expand Down

0 comments on commit 7123899

Please sign in to comment.