Removing the swagger and scala dependencies.