kbuntrock / openapi-maven-plugin

Generate openapi documentation for SpringMVC or JaxRS/JakartaRS projects.
https://kbuntrock.github.io/openapi-maven-plugin/
MIT License
13 stars 8 forks source link
compilation jakartars java java11 java17 java8 jax-rs jaxrs maven-plugin openapi spring-mvc

Openapi maven plugin

Maven Central CircleCI GitHub

The openapi maven plugin analyse Rest controller java classes and generate the corresponding openapi 3.0.3 documentation. It supports Spring MVC, Javax RS and Jakarta RS annotations.

It is compatible from jdk8 to at least jdk21 (IT tests are run on jdk 8, 11, 17 and 21).

The plugin generate the documentation using the compiled classes + the source code of the project.

Doing this process during the building phase of a project has several advantages compared to other methods:

Numerous configuration options are available.

One can mention :

Full documentation is located here and is available in english or french.