Closed
Description
Bug Report Checklist
- Have you provided a full/minimal spec to reproduce the issue?
- Have you validated the input using an OpenAPI validator (example)?
- What's the version of OpenAPI Generator used?
- Have you search for related issues/PRs?
- What's the actual output vs expected output?
- [Optional] Bounty to sponsor the fix (example)
Description
Our application's OpenAPI schema contains path parameters that contains '/'. The latest generated Ruby client stopped working for all the operations that contain a path parameter with '/' in it. This is a regression for our use case of openapi-generator.
openapi-generator version
I am using the latest openapi-generator-cli docker image. This is a regression since v4.0.0 tag.
OpenAPI declaration file content or url
https://docs.pulpproject.org/en/3.0/nightly/api.json
Command line used for generation
docker run -u $(id -u) --rm -v ${PWD}:/local openapitools/openapi-generator-cli generate \
-i /local/api.json \
-g ruby \
-o /local/$1-client \
-DgemName=$1_client \
-DgemLicense="GPLv2" \
-DgemVersion=0.1.0rc2 \
--skip-validate-spec \
--strict-spec=false
Steps to reproduce
Related issues/PRs
Suggest a fix
@ccouzens, could you make the path parameter escaping optional?