y-yu / sbt-swagger-meta

This is a sbt plugin to generate a Swagger YAML/JSON file based on annotation

Version Matrix

sbt-swagger-meta

CI Maven Central

This is a sbt plugin to generate a Swagger YAML/JSON file based on annotations.

How to Use

  1. ./project/plugins.sbt

    addSbtPlugin(com.github.y-yu" % "sbt-swagger-meta" % "0.2.0")
    
    • if you want to use a SNAPSHOT version, you write following.
      addSbtPlugin(com.github.y-yu" % "sbt-swagger-meta" % "0.2.1-SNAPSHOT")
      
  2. build.sbt

    enablePlugins(SbtSwaggerMeta)
    

See also ./example and ./src/sbt-test directories.

License

MIT