Skip to content
This repository
Octocat-spinner-32 app merged from develop January 16, 2014
Octocat-spinner-32 conf merged from develop November 11, 2013
Octocat-spinner-32 project merged from master March 29, 2014
Octocat-spinner-32 merged from develop November 11, 2013

Swagger Playframework Sample App


This is a java project to build a stand-alone server which implements the Swagger spec. You can find out more about both the spec and the framework at For more information about Wordnik's APIs, please visit There is an online version of this server at

To build from source

Please follow instructions to build the top-level swagger-core project

To run

The swagger-play2 module lives in maven central:

val appDependencies: Seq[sbt.ModuleID] = Seq(
  /* your other dependencies */
  "com.wordnik" %% "swagger-play2" % "1.3-SNAPSHOT"

You can run the sample app as such:

play run

The application will listen on port 9000 and respond to http://localhost:9000/api-docs.json

Something went wrong with that request. Please try again.