aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/foo/zaaarf/routecompass/Route.java
diff options
context:
space:
mode:
author zaaarf <me@zaaarf.foo>2024-01-23 11:20:29 +0100
committer zaaarf <me@zaaarf.foo>2024-01-23 11:20:29 +0100
commitb7ea0fdd817f8ab31b983d2307edcc2ddbe09dcb (patch)
treee7e89ee924a35ace91b39f6b4867d6438c1da773 /src/main/java/foo/zaaarf/routecompass/Route.java
parent47b45e2e42241c59011276572181c6efd016a378 (diff)
fix: annotation fields are actually methods
Diffstat (limited to 'src/main/java/foo/zaaarf/routecompass/Route.java')
-rw-r--r--src/main/java/foo/zaaarf/routecompass/Route.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/main/java/foo/zaaarf/routecompass/Route.java b/src/main/java/foo/zaaarf/routecompass/Route.java
index 7c7c091..af66aed 100644
--- a/src/main/java/foo/zaaarf/routecompass/Route.java
+++ b/src/main/java/foo/zaaarf/routecompass/Route.java
@@ -56,6 +56,8 @@ public class Route {
* @param consumes the {@link MediaType} consumed by the endpoint, may be null
* @param produces the {@link MediaType} produced by the endpoint, may be null
* @param deprecated whether the endpoint is deprecated
+ * @param returnType the DTO for the response type, may be null
+ * @param inputType the DTO for the request type, may be null
* @param params {@link Param}s of the endpoint, may be null
*/
public Route(String path, RequestMethod[] methods, MediaType consumes, MediaType produces,