Class SpringResponseBuilder

java.lang.Object
org.jsondoc.springmvc.scanner.builder.SpringResponseBuilder

public class SpringResponseBuilder
extends Object
  • Constructor Details

    • SpringResponseBuilder

      public SpringResponseBuilder()
  • Method Details

    • buildResponse

      public static org.jsondoc.core.pojo.ApiResponseObjectDoc buildResponse​(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: