lib/dry/swagger/documentation_generator.rb in dry-swagger-2.0.2 vs lib/dry/swagger/documentation_generator.rb in dry-swagger-2.0.3

- old
+ new

@@ -4,9 +4,10 @@ SWAGGER_FIELD_TYPE_DEFINITIONS = { "string" => { type: :string }, "integer" => { type: :integer }, "boolean" => { type: :boolean }, "float" => { type: :float }, + "decimal" => { type: :string, format: :decimal }, "datetime" => { type: :string, format: :datetime }, "date" => { type: :string, format: :date }, "time" => { type: :string, format: :time }, }.freeze