/sbt-swagger-meta

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

Primary LanguageScalaMIT LicenseMIT

sbt-swagger-meta

Build Status 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.1.7")
    
    • if you want to use a SNAPSHOT version, you write following.
      addSbtPlugin("com.github.y-yu" % "sbt-swagger-meta" % "0.1.8-SNAPSHOT")
      
  2. build.sbt

    enablePlugins(SbtSwaggerMeta)
    

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

License

MIT