Sha256: 38384059d0630bc8a4d9ba34c3e265612dcd91c72c0569da9ea6c5404b3ed40a
Contents?: true
Size: 994 Bytes
Versions: 11
Compression:
Stored size: 994 Bytes
Contents
# frozen_string_literal: true require "openapi3_parser/node_factory/object" require "openapi3_parser/node_factory/parameter_like" module Openapi3Parser module NodeFactory class Header < NodeFactory::Object include ParameterLike allow_extensions field "description", input_type: String field "required", input_type: :boolean, default: false field "deprecated", input_type: :boolean, default: false field "allowEmptyValue", input_type: :boolean, default: false field "style", input_type: String, default: "simple" field "explode", input_type: :boolean, default: :default_explode field "allowReserved", input_type: :boolean, default: false field "schema", factory: :schema_factory field "example" field "examples", factory: :examples_factory field "content", factory: :content_factory private def build_object(data, context) Node::Header.new(data, context) end end end end
Version data entries
11 entries across 11 versions & 2 rubygems