upgrade for swagger 2.0 support