Skip to content

openapi-processor/openapi-processor-gradle

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

com.github.hauner.openapi.gradle

a gradle plugin based on the openapi-generatr-api to handle all available openapi-generatrs from the classpath.

For any found generatr it will add a generate<id.capitalize()> task and a generatr<id.capitalize()> configuration object to the gradle project. The options objects class is provided by the OpenApiGeneratr.getOptionsType() method.

For example given a generatr with the name openapi-generatr-spring the gradle project will get a

  • generateSpring gradle task
  • and an generatrSpring options object

Sample project

See openapi-generatr-spring-mvc-sample for a complete spring boot sample project.