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
I have a DateRanges object that, while having a "start" and "end" member, is deserialized as a primitive array, e.g. ['20130210-20130315','20130520-20130524'] rather than
since I use @JsonValue in the Set<DateRange> getter. (And DateRange has it's start and end elements ignored with @JsonIgnore.)
That said, my Json object already does this properly (and I have custom deserializer for each in the ObjectMapper), but I don't believe I have a way of telling Swagger to use my parser. The model it shows in the UI is totally off.
The text was updated successfully, but these errors were encountered:
Hi, I'm happy to merge any commonly-used formatters into the core. There are a lot of combinations so we haven't covered them all. If you'd like to join in and contribute, it'd be appreciated.
A validating regex format parameter would be a good addition for string query parameters. Then you could describe the query parameter: DateRange in string format [show format here]
I have a DateRanges object that, while having a "start" and "end" member, is deserialized as a primitive array, e.g.
['20130210-20130315','20130520-20130524']
rather thansince I use
@JsonValue
in theSet<DateRange>
getter. (AndDateRange
has it's start and end elements ignored with@JsonIgnore
.)That said, my Json object already does this properly (and I have custom deserializer for each in the ObjectMapper), but I don't believe I have a way of telling Swagger to use my parser. The model it shows in the UI is totally off.
The text was updated successfully, but these errors were encountered: