Class SpringResponseBuilder


  • public class SpringResponseBuilder
    extends java.lang.Object
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      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.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • SpringResponseBuilder

        public SpringResponseBuilder()
    • 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: