Open
Description
After juggling around with JSON HAL and Swagger I think we need an extension point in SwaggerSupport
to be able to add custom transformations for data types. The signature could be A <: AnyRef => ModelProperty
or PartialFunction[A <: AnyRef, ModelProperty]
.
I think it should basically work as the serializers in Json4s. Maybe we can borrow some code there. Opinions?