Sha256: ec2469763d3ccc9514da0f748f950af0b2cfdce363e83f2cbe88c82cebc0f65f
Contents?: true
Size: 1017 Bytes
Versions: 36
Compression:
Stored size: 1017 Bytes
Contents
class OpenAPIParser::SchemaValidator class Options # @!attribute [r] coerce_value # @return [Boolean] coerce value option on/off # @!attribute [r] datetime_coerce_class # @return [Object, nil] coerce datetime string by this Object class # @!attribute [r] validate_header # @return [Boolean] validate header or not attr_reader :coerce_value, :datetime_coerce_class, :validate_header def initialize(coerce_value: nil, datetime_coerce_class: nil, validate_header: true) @coerce_value = coerce_value @datetime_coerce_class = datetime_coerce_class @validate_header = validate_header end end # response body validation option class ResponseValidateOptions # @!attribute [r] strict # @return [Boolean] validate by strict (when not exist definition, raise error) attr_reader :strict, :validate_header def initialize(strict: false, validate_header: true) @strict = strict @validate_header = validate_header end end end
Version data entries
36 entries across 36 versions & 2 rubygems