OpenAPITools / openapi-generator

OpenAPI Generator allows generation of API client libraries (SDK generation), server stubs, documentation and configuration automatically given an OpenAPI Spec (v2, v3)
https://openapi-generator.tech
Apache License 2.0
21.43k stars 6.48k forks source link

[swift] Rename url & path variables to avoid collision #18969

Closed andyland closed 3 months ago

andyland commented 3 months ago

Fixes Issue 18940

This renames the url & path variables to localVarURL and localVarPath to reduce the likelihood of collisions with parameters in the API request

@dydus0x14

PR checklist

wing328 commented 3 months ago

lgtm

cc @jgavris (2017/07) @ehyche (2017/08) @Edubits (2017/09) @jaz-ah (2017/09) @4brunu (2019/11) @dydus0x14 (2023/06)

wing328 commented 3 months ago

@andyland thanks for the fix, which has been merged.

please give it a try with the latest master or the snapshot version (published later via Travis CI workflow) to confirm the fix works as expected.

thanks again for your contribution