Generated new .json output for Swagger UI
Added the api/v1/v1.json file to the hack/update-swagger-spec.sh script so it gets updated and built.
Fixes#5057
Reverting last change: Deleted line for building v1 api from the build file update-swagger-ui.sh and deleted the output file from build (v1.json).