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
Is it possible to show the format of a field in the model of an object?
For instance, shipDate is of type string and has its format set to date-time. It would be nice if the model can show something like (string: date-time, optional) instead of just (string, optional).
I am referring to this:
The text was updated successfully, but these errors were encountered:
I think it's a good idea.
This model is generated by the code from the swagger-js project. @webron, @fehguy: let's move this issue into the swagger-js so, I could implement this feature
Just to be explicit, it would be useful to display any format, not just special ones. For example, if I have type: string, format: foo it should show (string: foo, optional)
Is it possible to show the format of a field in the model of an object?
For instance,
shipDate
is of typestring
and has its format set todate-time
. It would be nice if the model can show something like(string: date-time, optional)
instead of just(string, optional)
.I am referring to this:

The text was updated successfully, but these errors were encountered: