Class SpringResponseBuilder
java.lang.Object
org.jsondoc.springmvc.scanner.builder.SpringResponseBuilder
public class SpringResponseBuilder extends Object
-
Constructor Summary
Constructors Constructor Description SpringResponseBuilder() -
Method Summary
Modifier and Type Method Description static org.jsondoc.core.pojo.ApiResponseObjectDocbuildResponse(Method method)Builds the ApiResponseObjectDoc from the method's return type and checks if the first type corresponds to a ResponseEntity class.
-
Constructor Details
-
SpringResponseBuilder
public SpringResponseBuilder()
-
-
Method Details
-
buildResponse
Builds the ApiResponseObjectDoc from the method's return type and checks if the first type corresponds to a ResponseEntity class. In that case removes the "responseentity" string from the final list because it's not important to the documentation user.- Parameters:
method-- Returns:
-