Skip to content
This repository was archived by the owner on Feb 16, 2021. It is now read-only.

zenixan/swaggerdoc-plugin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

swaggerdoc-plugin is a JavaDoc plugin to generate a Swagger resource listing.

Requirements

  • Maven 3.0 or later

Setup

Add the following plugin configuration to the plugins block in the POM:

<plugin>
    <groupId>org.apache.maven.plugins</groupId>
    <artifactId>maven-javadoc-plugin</artifactId>
    <version>2.10.4</version>

    <configuration>
        <doclet>org.eu.fuzzy.swagger.javadoc.SwaggerDoclet</doclet>
        <docletArtifact>
            <groupId>org.eu.fuzzy</groupId>
            <artifactId>swaggerdoc-plugin</artifactId>
            <version>0.1.0</version>
        </docletArtifact>
        <useStandardDocletOptions>true</useStandardDocletOptions>
        <doctitle>Test API</doctitle>
        <additionalparam>
            --api-version 1.0.0
            --api-description "${project.description}"
            --api-tos MIT
            --api-contact-name "Yevhen Vatulin"
            --api-contact-url "http://vatulin.me"
            --api-contact-email yevhen@vatulin.me
            --api-license MIT
            --api-license-url "https://spdx.org/licenses/MIT.html"
        </additionalparam>
    </configuration>
</plugin>

Settings

TODO

License

This project is licensed under the MIT License.

About

JavaDoc plugin to generate a Swagger resource listing.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages