andrenth / ocaml-swagger

Swagger 2.0 code generator for OCaml
37 stars 10 forks source link

Support for "default" responses #13

Closed carlosdagos closed 5 years ago

carlosdagos commented 5 years ago

I get the error Exception: Failure "int_of_string". when there's a response with "default".

The documentation for that is here: https://swagger.io/docs/specification/describing-responses/#default

Thanks!

andrenth commented 5 years ago

Merged your PR, thanks! Sorry for the really slow handling of issues and PRs.

carlosdagos commented 5 years ago

Thanks a lot @andrenth :tada: