@autorest/python 6.13.18 → 6.13.19

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -700,7 +700,7 @@ class M4Reformatter(YamlUpdatePluginAutorest): # pylint: disable=too-many-publi
700
700
  # this means i'm a property that is part of a flattened model
701
701
  target_property_name = yaml_data["targetProperty"]["language"]["default"]["name"]
702
702
  param = self.update_parameter(yaml_data)
703
- body_parameter.setdefault("propertyToParameterName", {})[target_property_name] = param["clientName"]
703
+ body_parameter.setdefault("propertyToParameterName", {})[target_property_name.lower()] = param["clientName"]
704
704
  param["inFlattenedBody"] = True
705
705
  return param
706
706
 
@@ -829,7 +829,7 @@ class M4Reformatter(YamlUpdatePluginAutorest): # pylint: disable=too-many-publi
829
829
  prop
830
830
  for prop in grouper["type"]["properties"]
831
831
  if p["clientName"].lstrip("_") in prop["groupedParameterNames"] # TODO: patching m4
832
- )["clientName"]: p["clientName"]
832
+ )["clientName"].lower(): p["clientName"]
833
833
  for p in all_params
834
834
  if p.get("groupedBy") == grouper_name
835
835
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@autorest/python",
3
- "version": "6.13.18",
3
+ "version": "6.13.19",
4
4
  "description": "The Python extension for generators in AutoRest.",
5
5
  "main": "index.js",
6
6
  "repository": {