br.com.anteros.jsondoc.springmvc.scanner.Spring4JSONDocScanner Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of Anteros-JSONDoc-SpringMVC Show documentation
Show all versions of Anteros-JSONDoc-SpringMVC Show documentation
The support for Spring MVC of the jsondoc project.
The newest version!
package br.com.anteros.jsondoc.springmvc.scanner;
import java.util.Set;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RestController;
public class Spring4JSONDocScanner extends AbstractSpringJSONDocScanner {
@Override
public Set> jsondocControllers() {
Set> jsondocControllers = reflections.getTypesAnnotatedWith(Controller.class, true);
jsondocControllers.addAll(reflections.getTypesAnnotatedWith(RestController.class, true));
return jsondocControllers;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy