Skip to content

[Swift] Fix #2095, missing sanitization for operationId #2112

New issue

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

Merged
merged 1 commit into from
Feb 11, 2016

Conversation

hideya
Copy link
Contributor

@hideya hideya commented Feb 11, 2016

Fixes #2095

SwaggerCodegen was not overriding toOperationId(String operationId) which resulted in missing sanitization for operationId. This PR adds toOperationId() from ObjcClientCodegen, which also includes check against reserved keyword usage.

@wing328 could you please review the change?

@wing328 wing328 added this to the v2.1.6 milestone Feb 11, 2016
wing328 added a commit that referenced this pull request Feb 11, 2016
[Swift] Fix #2095, missing sanitization for operationId
@wing328 wing328 merged commit b54947d into swagger-api:master Feb 11, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants