Re: [akka-user] Re: Swakka - a new extension to akka-http for Swagger/OpenApi

2018-02-21 Thread Jeremy Townson
> that does not require to be in same process. >> >> >> On Wednesday, January 31, 2018 at 12:45:53 PM UTC-5, Philippe Derome >> wrote: >>> >>> Jeremy, >>> >>> do you have any intent to make this project available with Scala 2.11? >&

[akka-user] Re: Swakka - a new extension to akka-http for Swagger/OpenApi

2018-01-30 Thread Jeremy Townson
t;> sonatype_credentials file issue, which looks mysterious to me and would >> like to give this a dev try today. >> >> Thanks, >> >> Phil >> >> >> On Wednesday, January 24, 2018 at 5:18:59 PM UTC-5, Jeremy Townson wrote: >>> >>> Hi Ak

[akka-user] Re: Swakka - a new extension to akka-http for Swagger/OpenApi

2018-01-28 Thread Jeremy Townson
g) > and two-three books by Matthias Biehl (API University Series) among recent > contributions. > > Thanks much! > > Phil > > > On Saturday, January 27, 2018 at 7:19:35 PM UTC-5, Jeremy Townson wrote: >> >> Hi Phil, >> >> I would point out that: &g

[akka-user] Re: Swakka - a new extension to akka-http for Swagger/OpenApi

2018-01-27 Thread Jeremy Townson
rnal clients/consumers. If you have familiarity with stated Lagom > project, I'd appreciate your views on the two approaches, i.e. that and > Swakka. > > Thanks, > > Phil > > On Wednesday, January 24, 2018 at 5:18:59 PM UTC-5, Jeremy Townson wrote: >> >

[akka-user] Re: Swakka - a new extension to akka-http for Swagger/OpenApi

2018-01-24 Thread Jeremy Townson
the knowledge or authority to go tinkering with one of the core abstractions in Akka-Http. But if this interests you, you are familiar with the Akka-Http codebase and want to take a punt as a pair, I’m game. All the best, Jeremy On Monday, 21 August 2017 10:54:44 UTC+1, Jeremy Townson wrote

[akka-user] Re: Akka-HTTP creating a directive to create a unique request id?

2017-08-29 Thread Jeremy Townson
Because the uuid does not depend on the request in any way, you can map a directive called 'pass' (pass is a a sort of identity directive that does nothing). e.g. "directive" should "generate a uuid" in { import akka.http.scaladsl.server.Directives.pass val uuid =

[akka-user] Re: How to custom handle endpoints in Akka-HTTP DSL?

2017-08-29 Thread Jeremy Townson
Hi, >> If the JSON fails to decode to a FOO, the system sends back an error to the HTTP request but I don't have control over the content of that error or the HTTP response code For this, I would start by looking at the 'customizing rejection handling' section in

[akka-user] Re: Swakka - a new extension to akka-http for Swagger/OpenApi

2017-08-21 Thread Jeremy Townson
Thank you, Martynas. I have updated the readme to include that use-case. On Monday, 21 August 2017 10:54:44 UTC+1, Jeremy Townson wrote: > > Hi Akka Users, > > I would like to introduce *Swakka*, a library for adding Swagger/OpenApi > doc generation to akka-http. https://bitbuck

[akka-user] Swakka - a new extension to akka-http for Swagger/OpenApi

2017-08-21 Thread Jeremy Townson
Hi Akka Users, I would like to introduce *Swakka*, a library for adding Swagger/OpenApi doc generation to akka-http. https://bitbucket.org/jtownson/swakka. Like many people I was frustrated by the lack of swagger support in akka-http. After reading the proposed solutions to the problem in