Added SwaggerConfig setter on ConfigFactory

Added a setter for SwaggerConfig instance on ConfigFactory class