Issue
Represents a validation issue found during request parsing.
Issues are returned when request parameters fail validation, coercion, or constraint checks. Access via contract.issues.
Instance Methods
#as_json
#as_json
Converts this issue to a hash for JSON serialization.
Returns
Hash
#code
#code
The code for this issue.
Returns
Symbol
#detail
#detail
The detail for this issue.
Returns
String
#meta
#meta
The meta for this issue.
Returns
Hash
#pointer
#pointer
The pointer for this issue.
Returns
String
#to_h
#to_h
Converts this issue to a hash.
Returns
Hash
#to_s
#to_s
Converts this issue to a string.
Returns
String