Closed cesarmarinhorj closed 3 years ago
Do you happen to be doing something like this?
Swagger::Action.new("post", "/users", "Create a user", responses: ["R1", "R2"])
Because if so the third argument should be responses
, but you're providing it as both a positional and named argument.
~Is easy to reproduce, E.g. https://play.crystal-lang.org/#/r/akks.~
~tl;dr not a bug.~
EDIT: NVM, didn't notice you said it was a bug in the example.
@cesarmarinhorj Thanks for feedback, it was a out-of-date example after merged #7
Crystal 0.36.1 [c3a3c1823] (2021-02-02)
LLVM: 10.0.0 Default target: x86_64-unknown-linux-gnu
kemal: git: https://github.com/kemalcr/kemal.git version: 0.27.0