add Retention.Runtime to annotation
@@ -3,9 +3,12 @@ package greencity.annotations;
import io.swagger.annotations.ApiImplicitParam;
import io.swagger.annotations.ApiImplicitParams;
import java.lang.annotation.ElementType;
+import java.lang.annotation.Retention;
+import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
@Target(ElementType.METHOD)
+@Retention(RetentionPolicy.RUNTIME)
@ApiImplicitParams({
@ApiImplicitParam(name = "lang", value = "Code of the needed language.", dataType = "string", paramType = "query"),
@ApiImplicitParam(name = "page", dataType = "int", paramType = "query", defaultValue = "0",
