y-yu / sbt-swagger-meta   0.2.0

MIT License GitHub

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

Scala versions: 2.12
sbt plugins: 1.x

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