sbt-swagger-meta
This is a sbt plugin to generate a Swagger YAML/JSON file based on annotations.
How to Use
-
./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")
- if you want to use a SNAPSHOT version, you write following.
-
build.sbt
enablePlugins(SbtSwaggerMeta)
See also ./example
and ./src/sbt-test
directories.