made a workaround for the scala versions for swagger