Skip to content

Commit 914cb94

Browse files
author
Miguel Martinez
committed
UUID data_type format support
Updating changelog
1 parent f85b300 commit 914cb94

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

CHANGELOG.md

+1
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
#### Features
44

5+
* [#531](https://github.com/ruby-grape/grape-swagger/pull/531): UUID data_type format support - [@migmartri](https://github.com/migmartri).
56
* [#534](https://github.com/ruby-grape/grape-swagger/pull/534): Allows to overwrite defaults status codes - [@LeFnord](https://github.com/LeFnord).
67
* Your contribution here.
78

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)