Tag: swagger

Change default date for Jackson in Spring Boot application

Dates as a concept are seamingly simple and straight forward. Though in programming world those could be rather complex starting from format, representation, time zones, machine default configuration going through different calendars and date manipulations. In this post I won’t

It's only fair to share...Buffer this pageShare on FacebookTweet about this on TwitterShare on Google+Share on LinkedInShare on RedditPin on PinterestEmail this to someone
Posted in API, Java, Small Tips, Spring MVC, Swagger Tagged with: , , , , , ,

Swagger and polymorphic type handling with Jackson

Polymorphic type handling based on JSON property Building an API that supports inheritance could be quite crucial. Imagine the case where you want to have an endpoint that stores a profile data for a given provider and that provider could

It's only fair to share...Buffer this pageShare on FacebookTweet about this on TwitterShare on Google+Share on LinkedInShare on RedditPin on PinterestEmail this to someone
Posted in API, Java, Spring MVC, Swagger Tagged with: , , , , , ,