Skip to content

Commit

Permalink
Fix default
Browse files Browse the repository at this point in the history
  • Loading branch information
slevenick committed Jul 21, 2020
1 parent 71b8c73 commit b53dc13
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api/type.rb
Original file line number Diff line number Diff line change
Expand Up @@ -461,7 +461,7 @@ class Enum < Primitive
def validate
super
check :values, type: ::Array, item_type: [Symbol, ::String, ::Integer], required: true
check :skip_docs_values, type :boolean, default: false
check :skip_docs_values, type: :boolean
end
end

Expand Down

0 comments on commit b53dc13

Please sign in to comment.