Sha256: 6414784514ce25de96b5f92995eb25e2b2986f6dffef57b4475184fbb152acdf
Contents?: true
Size: 513 Bytes
Versions: 40
Compression:
Stored size: 513 Bytes
Contents
# TODO: example # TODO: examples # TODO: encoding module OpenAPIParser::Schemas class MediaType < Base # @!attribute [r] schema # @return [Schema, nil] OpenAPI3 Schema object openapi_attr_object :schema, Schema, reference: true # validate params by schema definitions # @param [Hash] params # @param [OpenAPIParser::SchemaValidator::Options] options def validate_parameter(params, options) OpenAPIParser::SchemaValidator.validate(params, schema, options) end end end
Version data entries
40 entries across 40 versions & 2 rubygems