Skip to content

Commit 35a4c41

Browse files
committed
map data types should be converted to lowercase
1 parent ae2497f commit 35a4c41

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

processors/shared_functions.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -328,7 +328,7 @@ def add_component_schema_map(openapi_spec, shape_name, shape):
328328

329329
# Get value type
330330
value_target = shape.get("value", {}).get("target", "smithy.api#String")
331-
value_type = value_target.split("#")[-1]
331+
value_type = value_target.split("#")[-1].lower()
332332

333333
# Handle scalar types
334334
scalar_map = {

0 commit comments

Comments
 (0)