Updated ConfigFactory to have a setter on the SwaggerConfig object