Skip to content
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

fix: fix issues when parent parameter is not camel case #72

Merged
merged 1 commit into from
Mar 27, 2020

Conversation

kakhaUrigashvili
Copy link
Contributor

fixing a minor bug.

@@ -40,7 +40,7 @@ class CliCustomizationProcessor {
}

_processBodyParameter(parameter, parentOperation, definitions) {
const rootName = camelCase(parameter.name);
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

dont need to do camelCase. The logic was failing in one case when body parameter was not camel case and was starting with a capital letter.

@kakhaUrigashvili kakhaUrigashvili merged commit 8ac3844 into develop Mar 27, 2020
@kakhaUrigashvili kakhaUrigashvili deleted the smapi-bug-fixes branch March 27, 2020 19:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants