valadan / swagger-akka-http-sample

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

swagger-akka-http-sample

Clone this git repo and use sbt run to start the Akka Http server.

Uses swagger-akka-http which is built using swagger.io libs.

Test using http://petstore.swagger.io/ and replace the swagger.json with http://localhost:12345/api-docs/swagger.json

The Swagger UI can be used to send sample requests. In my testing, the 'Try It' calls fail when issued from the Swagger UI but the curl command that it produces does run when used from the command line. These issues appear to be CORS related.

About

License:Apache License 2.0


Languages

Language:Scala 100.0%