Set instead of List for the AccessManager roles.ctx.bodyAsClass() and rework ctx.json() to just set content-typeparam() vs other paramsAdding swagger-ui integration would be useful. Example:
@weejim76 are you interesting in helping with this?
hi David,
I wish I could, but there are simply too many things that I am juggling
with at the moment.
That said, there is a similar piece of work already done for sparkjava,
which may be cloned and retrofitted for Javalin:
https://github.com/cesinrm/spark-swagger
Jim
https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail
Virus-free.
www.avast.com
https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail
<#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>
On Sat, Apr 14, 2018 at 3:44 AM, David notifications@github.com wrote:
@weejim76 https://github.com/weejim76 are you interesting in helping
with this?—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/tipsy/javalin/issues/161#issuecomment-381242420, or mute
the thread
https://github.com/notifications/unsubscribe-auth/ADGFoy3bHsjvWW6o34L7r3AQBGpsXuq2ks5toQA2gaJpZM4Shvba
.
Full support for kotlin coroutines would be awesome.
Consider renaming param to pathParam and creating param which returns any sort of param.
Since we're in Javalin 2.0 mode, this issue can be closed. Create issues directly instead.
Most helpful comment
Adding swagger-ui integration would be useful. Example: