remove legacy swagger