Class OpenApi2JavaMojo

java.lang.Object
org.apache.maven.plugin.AbstractMojo
io.github.torand.openapi2java.OpenApi2JavaMojo
All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo

@Mojo(name="generate", defaultPhase=PROCESS_SOURCES) public class OpenApi2JavaMojo extends org.apache.maven.plugin.AbstractMojo
Generates source code for a REST-API with resource interfaces and representation model classes based on an OpenAPI specification file.
  • Field Summary

    Fields inherited from interface org.apache.maven.plugin.Mojo

    ROLE
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
     

    Methods inherited from class org.apache.maven.plugin.AbstractMojo

    getLog, getPluginContext, setLog, setPluginContext

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • OpenApi2JavaMojo

      public OpenApi2JavaMojo()
  • Method Details

    • execute

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