I am creating a TypeScript Axios REST API client with OpenAPI Generator. I'm doing this in my terminal using npx @openapitools/openapi-generator-cli generate -i ../swagger.json -g typescript-axios -o ./rest/.
Since my host is depending on my .env variables, I want to read my API_URL from my env variables and pass it to the generating process of the generator.
I found in the docs that changing the BasePath is in some way possible, but I can't figure out the way to do it. Adding --basePath=1.2.3.4:8080 does not work, and I don't understand what "Defined by ToolingExtension" means.