CreditCardsCom / swagger-play

Swagger integration for Play Framework 2.5

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Swagger Play Module

Overview

This is a module to integrate swagger into Play Framework 2.5.x.

At the time of this writing, support for Play 2.5 was not available in the official swagger-play repository. This repository is a copy of the Play-2.5 folder in pikel's fork. It was created this way to make it easier to add as a git dependency.

WARNING: This repository will be discarded once support is added to the official swagger-play repo.

Usage

As a git dependency

You can include this library as a dependency in your build.sbt file:

lazy val root = (project in file(".")).enablePlugins(PlayJava).dependsOn(swagger)
lazy val swagger = RootProject(uri("ssh://git@github.com/CreditCardsCom/swagger-play.git"))

Build from source

cd swagger-play

sbt publishLocal

This will add the library to your local ivy repo. You can then add a maven-style dependency to your build file:

  "io.swagger" %% "swagger-play2" % "1.5.2-SNAPSHOT"

About

Swagger integration for Play Framework 2.5


Languages

Language:Scala 53.7%Language:Java 46.3%