class OpenApiAnnotator::NullableValidator
Public Instance Methods
validate!(nullable)
click to toggle source
# File lib/open_api_annotator/nullable_validator.rb, line 3 def validate!(nullable) if nullable.nil? raise ValidationError, "nullable should not be nil." end end