mirror of
https://github.com/valitydev/openapi-generator.git
synced 2024-11-08 03:18:53 +00:00
fd560f4dc1
Gets rid of the smelly vars inside Scala api.mustache allowing the override of default basePath and ApiInvoker on the constructor. Previously the code for overriding was: val myApi = new MyApi() myApi.basePath = "http://myapi.endpoint.com" myApi.apiInvoker = new ApiInvoker(authScheme = "SPNEGO") after the change everything can be simply declared in the constructor: val myApi = new MyApi("http://myapi.endpoint.com", new ApiInvoker(authScheme = "SPNEGO")) |
||
---|---|---|
.. | ||
src | ||
pom.xml |