openapi2apigee generateApi Bill -s BillingUsageApiSwagger.yaml -D -d .
I am using the above command to generate an APIProxy Bill.
I have
basepath: /v1/accounts and
/paths : /usage
the generated proxy has
<BasePath>/Bill</BasePath> and <HTTPTargetConnection> <URL>https://FQDN/v1/accounts</URL> </HTTPTargetConnection>
Any ideas on how to fix that?
@Maruti Chand , It's hardcoded at this point of time to API name. You can see the codebase here (line no 185).
You can submit a pull request to change it to spec basepath using api variable in the function.
User | Count |
---|---|
1 | |
1 | |
1 | |
1 | |
1 |