Class JavaCXFClientCodegen

All Implemented Interfaces:
io.swagger.codegen.v3.CodegenConfig, BeanValidationFeatures, GzipTestFeatures, LoggingTestFeatures, UseGenericResponseFeatures

  • Field Details

    • JAXRS_TEMPLATE_DIRECTORY_NAME

      protected static final String JAXRS_TEMPLATE_DIRECTORY_NAME
      Name of the sub-directory in "src/main/resource" where to find the Mustache template for the JAX-RS Codegen.
      See Also:
    • useBeanValidation

      protected boolean useBeanValidation
    • useGenericResponse

      protected boolean useGenericResponse
    • useGzipFeatureForTests

      protected boolean useGzipFeatureForTests
    • useLoggingFeatureForTests

      protected boolean useLoggingFeatureForTests
  • Constructor Details

    • JavaCXFClientCodegen

      public JavaCXFClientCodegen()
  • Method Details

    • processOpts

      public void processOpts()
      Specified by:
      processOpts in interface io.swagger.codegen.v3.CodegenConfig
      Overrides:
      processOpts in class AbstractJavaCodegen
    • getName

      public String getName()
      Specified by:
      getName in interface io.swagger.codegen.v3.CodegenConfig
    • getTag

      public io.swagger.codegen.v3.CodegenType getTag()
      Specified by:
      getTag in interface io.swagger.codegen.v3.CodegenConfig
    • addOperationToGroup

      public void addOperationToGroup(String tag, String resourcePath, io.swagger.v3.oas.models.Operation operation, io.swagger.codegen.v3.CodegenOperation co, Map<String,List<io.swagger.codegen.v3.CodegenOperation>> operations)
      Description copied from class: DefaultCodegenConfig
      Add operation to group
      Specified by:
      addOperationToGroup in interface io.swagger.codegen.v3.CodegenConfig
      Overrides:
      addOperationToGroup in class DefaultCodegenConfig
      Parameters:
      tag - name of the tag
      resourcePath - path of the resource
      operation - Swagger Operation object
      co - Codegen Operation object
      operations - map of Codegen operations
    • postProcessModelProperty

      public void postProcessModelProperty(io.swagger.codegen.v3.CodegenModel model, io.swagger.codegen.v3.CodegenProperty property)
      Specified by:
      postProcessModelProperty in interface io.swagger.codegen.v3.CodegenConfig
      Overrides:
      postProcessModelProperty in class AbstractJavaCodegen
    • postProcessOperations

      public Map<String,Object> postProcessOperations(Map<String,Object> objs)
      Specified by:
      postProcessOperations in interface io.swagger.codegen.v3.CodegenConfig
      Overrides:
      postProcessOperations in class AbstractJavaCodegen
    • getHelp

      public String getHelp()
      Specified by:
      getHelp in interface io.swagger.codegen.v3.CodegenConfig
    • setUseBeanValidation

      public void setUseBeanValidation(boolean useBeanValidation)
      Specified by:
      setUseBeanValidation in interface BeanValidationFeatures
    • setUseGzipFeatureForTests

      public void setUseGzipFeatureForTests(boolean useGzipFeatureForTests)
      Specified by:
      setUseGzipFeatureForTests in interface GzipTestFeatures
    • setUseLoggingFeatureForTests

      public void setUseLoggingFeatureForTests(boolean useLoggingFeatureForTests)
      Specified by:
      setUseLoggingFeatureForTests in interface LoggingTestFeatures
    • setUseGenericResponse

      public void setUseGenericResponse(boolean useGenericResponse)
      Specified by:
      setUseGenericResponse in interface UseGenericResponseFeatures
    • getArgumentsLocation

      public String getArgumentsLocation()
      Overrides:
      getArgumentsLocation in class DefaultCodegenConfig
    • getDefaultTemplateDir

      public String getDefaultTemplateDir()
      Specified by:
      getDefaultTemplateDir in class DefaultCodegenConfig