Upgrade dependencies to fix vulnerability and migrating from springfox to open-api

(cherry picked from commit 1ce4da1e)