Class SpringResponseBuilder
- java.lang.Object
-
- org.jsondoc.springmvc.scanner.builder.SpringResponseBuilder
-
public class SpringResponseBuilder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description SpringResponseBuilder()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static org.jsondoc.core.pojo.ApiResponseObjectDocbuildResponse(java.lang.reflect.Method method)Builds the ApiResponseObjectDoc from the method's return type and checks if the first type corresponds to a ResponseEntity class.
-
-
-
Method Detail
-
buildResponse
public static org.jsondoc.core.pojo.ApiResponseObjectDoc buildResponse(java.lang.reflect.Method method)
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:
-
-