joffrey-bion / livedoc

A not-so-annotation-based documentation generator for REST and websocket services
MIT License
4 stars 2 forks source link

Add default value for java.util.Date in templates #45

Closed joffrey-bion closed 6 years ago

joffrey-bion commented 7 years ago

Dates have a special treatment in Jackson, therefore it does not make sense to create LinkedHashMap with their properties, they should be put in templates as actual Date objects.

ST-DDT commented 7 years ago

This also affects java.time.*.

joffrey-bion commented 7 years ago

I believe this list covers all use cases:

Do you see anything that is not covered by these 3 types?

ST-DDT commented 7 years ago

I guess that list is complete (or at least easy to supplement later)