cleaner way to handle swagger serialization issue 71/127371/1
authorRashmi Pujar <rashmi.pujar1@bell.ca>
Mon, 28 Feb 2022 16:45:57 +0000 (11:45 -0500)
committerRashmi Pujar <rashmi.pujar1@bell.ca>
Mon, 28 Feb 2022 16:45:57 +0000 (11:45 -0500)
commit11234c358bf65b7700c73d8bbad66b335b0dd3c6
treed070b99c96938cec90e501b6e31ac65e1766d6bc
parentb2e669ed9a55fea534e01262b04b4529fa2e998d
cleaner way to handle swagger serialization issue

Instaed of altering the springboot default http
message converters, simply inject a GSON bean with
a custom type adapter with springfox Json serializer.

Issue-ID: POLICY-3753
Signed-off-by: Rashmi Pujar <rashmi.pujar1@bell.ca>
Change-Id: I0eb3b7cba538e7fd569f1cba9d540a7108db93e9
main/src/main/java/org/onap/policy/api/main/config/WebConfig.java