Skip to content
This repository has been archived by the owner on Nov 30, 2023. It is now read-only.

Latest commit

 

History

History
19 lines (12 loc) · 575 Bytes

README.md

File metadata and controls

19 lines (12 loc) · 575 Bytes

sbt-swagger-plugin

A simple wrapper to run Swagger2Markup inside sbt.

Usage

In plugin.sbt

resolvers += Resolver.url("21re-bintray-plugins", url("http://dl.bintray.com/21re/public"))(Resolver.ivyStylePatterns)

addSbtPlugin("de.21re" % "sbt-swagger-plugin" % "0.1-4")

Simple adds a generateSwaggerApiDoc task.

Folling settings are supported:

  • swaggerApiFile the swagger yaml file to be converted (defaults to: specs/api.yaml)
  • swaggerApiDocTarget the target output (defaults to: specs/api.md)