Skip to content

Commit

Permalink
fix: fix issues when parent parameter is not camel case (#72)
Browse files Browse the repository at this point in the history
Co-authored-by: kakha urigashvili <[email protected]>
  • Loading branch information
kakhaUrigashvili and kakha urigashvili authored Mar 27, 2020
1 parent 37c922f commit 8ac3844
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/commands/smapi/cli-customization-processor.js
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ class CliCustomizationProcessor {
}

_processBodyParameter(parameter, parentOperation, definitions) {
const rootName = camelCase(parameter.name);
const rootName = parameter.name;
const { description, required } = parameter;
const { properties } = this._getDefinitionSchema(parameter.schema.$ref, definitions);
const customization = customizationMap.get(parameter.name);
Expand Down

0 comments on commit 8ac3844

Please sign in to comment.