<dependency>
<groupId>fi.miredot</groupId>
<artifactId>miredot-annotations</artifactId>
<version>1.0.0</version>
</dependency>
@Api(name = "User API", description = "API for managing user resources")
public class UserController {
@Resource(path = "/users", description = "Resource for managing users")
public class UserResource {
@Method(httpMethod = HttpMethod.GET, path = "/{userId}", description = "Get user by ID")
public User getUser(@PathParam(name = "userId", description = "ID of the user") int userId) {
}
}
}