/spray-swagger-template

Swagger Integration into Spray

Primary LanguageJavaScriptApache License 2.0Apache-2.0

spray Swagger Template

This projects provides a starting point for your own spray REST api with Swagger documentation.

The following REST endpoints have been implemented:

  • Jupiter
  • Mars
  • Pet

An actor is created for each endpoint pet,mars, jupiter.

Follow these steps to get started:

  1. Git-clone this repository.

     $ git clone git://github.com/zouzias/spray-swagger-template my-project
    
  2. Change directory into your clone:

     $ cd my-project
    
  3. Launch SBT:

     $ sbt run
    
  4. Browse to http://localhost:8080

  5. Stop the application using CTRL-C

Learn more at http://www.spray.io/