Skip to content

Commit 4de802f

Browse files
Datatype was still hardcoded.
1 parent 6f478c2 commit 4de802f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/grape-swagger.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ def parse_params(params)
104104
paramType: paramType,
105105
name: param,
106106
description: description,
107-
dataType: "String",
107+
dataType: dataType,
108108
required: required
109109
}
110110
end

0 commit comments

Comments
 (0)