Class SuperUserOpenApiCodegenService
java.lang.Object
dev.getelements.elements.service.codegen.SuperUserOpenApiCodegenService
- All Implemented Interfaces:
CodegenService
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongenerateApplication
(File spec, String applicationNameOrId, String language, String packageName, String options) Generates the code for a specific application and returns a zip file containing the generated codegenerateCore
(File spec, String language, String packageName, String options) Generates the Elements Core APIs and returns a zip file containing the generated code
-
Constructor Details
-
SuperUserOpenApiCodegenService
public SuperUserOpenApiCodegenService()
-
-
Method Details
-
generateCore
Description copied from interface:CodegenService
Generates the Elements Core APIs and returns a zip file containing the generated code- Specified by:
generateCore
in interfaceCodegenService
- Parameters:
spec
- The file containing the generated OpenAPI speclanguage
- The language to generateoptions
- 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 interfaceCodegenService
- Parameters:
spec
- The file containing the generated OpenAPI specapplicationNameOrId
- The name or id of the application to generate code forlanguage
- The language to generateoptions
- Any options to pass to the generator- Returns:
- The file that will contain the compressed contents after code generation
-