# File lib/apipie/validator.rb, line 248 def self.validate(value) value.to_s =~ /\A(0|[1-9]\d*)\Z$/ end