Skip to content

Commit 37f24a2

Browse files
author
Miguel Martinez
committed
UUID data_type format support
1 parent 1b7fe2e commit 37f24a2

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

lib/grape-swagger/doc_methods/data_type.rb

+2-1
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,8 @@ def mapping(value)
8383
'dateTime' => %w(string date-time),
8484
'binary' => %w(string binary),
8585
'password' => %w(string password),
86-
'email' => %w(string email)
86+
'email' => %w(string email),
87+
'uuid' => %w(string uuid)
8788
}.freeze
8889
end
8990
end

0 commit comments

Comments
 (0)