Enhancing JAX-RS Project Analysis With JavaDoc [Video]
The newest improvements to the JAX-RS Analyzer include extended JavaDoc support for Swagger JSON. This guide will walk you through the implementation.
Join the DZone community and get the full member experience.
Join For FreeRecently, I released version 0.12
of the JAX-RS Analyzer. As a main improvement, JavaDocs of JAX-RS resources will now be taken into account for Swagger JSON.
The Maven plugin usage is updated to:
<plugin>
<groupId>com.sebastian-daschner</groupId>
<artifactId>jaxrs-analyzer-maven-plugin</artifactId>
<version>0.12</version>
<executions>
<execution>
<goals>
<goal>analyze-jaxrs</goal>
</goals>
<configuration>
<backend>swagger</backend>
</configuration>
</execution>
</executions>
</plugin>
I have uploaded a video in which I show how to make use of the JavaDoc analysis.
Please note: Unlike in the video, the correct version is 0.12
. Have a look at the current version.
Published at DZone with permission of Sebastian Daschner. See the original article here.
Opinions expressed by DZone contributors are their own.
Comments