Package dk.mada.jaxrs.generator.mpclient
Class Generator
java.lang.Object
dk.mada.jaxrs.generator.mpclient.Generator
- All Implemented Interfaces:
GeneratorService
Generates JAX-RS code.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidgenerateClient(ClientContext clientContext, Path openapiDocument, Properties options, Path destinationDir) Generate client code.
-
Constructor Details
-
Generator
public Generator()Constructs new instance.
-
-
Method Details
-
generateClient
public void generateClient(ClientContext clientContext, Path openapiDocument, Properties options, Path destinationDir) Description copied from interface:GeneratorServiceGenerate client code.- Specified by:
generateClientin interfaceGeneratorService- Parameters:
clientContext- the context for the generatoropenapiDocument- the OpenAPI documentoptions- the generator optionsdestinationDir- the destination directory
-