You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Sep 14, 2022. It is now read-only.
That is, Option[String] is correctly mapped to string but other Option[Long], Option[Float] and Option[Boolean] are mapped to object which is not correct. They should be mapped to number and boolean.
And then, in the UI, examples for this type are not well presented.
NB: I haven't tested if it's specific to implicit and/or body params or not.
The text was updated successfully, but these errors were encountered:
Hi,
Having an implicit body parameter which definition looks like this:
And declaration:
Result in the following
swagger.json
file:That is,
Option[String]
is correctly mapped tostring
but otherOption[Long]
,Option[Float]
andOption[Boolean]
are mapped toobject
which is not correct. They should be mapped tonumber
andboolean
.And then, in the UI, examples for this type are not well presented.
NB: I haven't tested if it's specific to implicit and/or body params or not.
The text was updated successfully, but these errors were encountered: