Class JsonSchemaGeneratorMojo

java.lang.Object
org.apache.maven.plugin.AbstractMojo
io.micronaut.maven.AbstractMicronautMojo
io.micronaut.maven.jsonschema.JsonSchemaGeneratorMojo
All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo

@Mojo(name="generate-jsonschema", defaultPhase=GENERATE_SOURCES) public class JsonSchemaGeneratorMojo extends AbstractMicronautMojo
Json Schema generator mojo provides the parameters for all generators and the invoker logic.

Expects single or multiple schema files as input via a URL, file, or directory; and generates all required source code representing the validation form in the targeted language.

  • Field Details

  • Constructor Details

  • Method Details

    • execute

      public void execute() throws org.apache.maven.plugin.MojoExecutionException, org.apache.maven.plugin.MojoFailureException
      Throws:
      org.apache.maven.plugin.MojoExecutionException
      org.apache.maven.plugin.MojoFailureException