We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
When generating cpprest dots and dashes are allowed for C++ identifier names which causes uncompilable code like:
class Io.k8s.kubernetes.pkg.api.v1.Service : public ModelBase { ...
2.4.0-SNAPSHOT from docker hub: https://hub.docker.com/r/swaggerapi/swagger-codegen-cli/
https://raw.githubusercontent.com/kubernetes/kubernetes/v1.10.4/api/openapi-spec/swagger.json
docker run swaggerapi/swagger-codegen-cli generate --lang cpprest --output /output -i https://raw.githubusercontent.com/kubernetes/kubernetes/v1.10.4/api/openapi-spec/swagger.json
run:
After generating any class in model directory will have such invalid names.
Maybe map dots to "_", but care must be taken to avoid name clashes.
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
Uh oh!
There was an error while loading. Please reload this page.
Description
When generating cpprest dots and dashes are allowed for C++ identifier names which causes uncompilable code like:
Swagger-codegen version
2.4.0-SNAPSHOT from docker hub: https://hub.docker.com/r/swaggerapi/swagger-codegen-cli/
Swagger declaration file content or url
https://raw.githubusercontent.com/kubernetes/kubernetes/v1.10.4/api/openapi-spec/swagger.json
Command line used for generation
Steps to reproduce
run:
After generating any class in model directory will have such invalid names.
Suggest a fix/enhancement
Maybe map dots to "_", but care must be taken to avoid name clashes.
The text was updated successfully, but these errors were encountered: