Class SuperUserOpenApiCodegenService

java.lang.Object
dev.getelements.elements.service.codegen.SuperUserOpenApiCodegenService
All Implemented Interfaces:
CodegenService

public class SuperUserOpenApiCodegenService extends Object implements CodegenService
  • Constructor Details

    • SuperUserOpenApiCodegenService

      public SuperUserOpenApiCodegenService()
  • Method Details

    • generateCore

      public File generateCore(File spec, String language, String packageName, String options)
      Description copied from interface: CodegenService
      Generates the Elements Core APIs and returns a zip file containing the generated code
      Specified by:
      generateCore in interface CodegenService
      Parameters:
      spec - The file containing the generated OpenAPI spec
      language - The language to generate
      options - Any options to pass to the generator
      Returns:
      The file that will contain the compressed contents after code generation
    • generateApplication

      public File generateApplication(File spec, String applicationNameOrId, String language, String packageName, String options)
      Description copied from interface: CodegenService
      Generates the code for a specific application and returns a zip file containing the generated code
      Specified by:
      generateApplication in interface CodegenService
      Parameters:
      spec - The file containing the generated OpenAPI spec
      applicationNameOrId - The name or id of the application to generate code for
      language - The language to generate
      options - Any options to pass to the generator
      Returns:
      The file that will contain the compressed contents after code generation