Sha256: 28c40891c81ec1d8f7c45d026d0b6af25d78087daea5efc8845cda69aa5738c6
Contents?: true
Size: 718 Bytes
Versions: 4
Compression:
Stored size: 718 Bytes
Contents
# frozen_string_literal: true require "openapi3_parser/node/object" module Openapi3Parser module Node # @see https://github.com/OAI/OpenAPI-Specification/blob/master/versions/3.0.0.md#encodingObject class Encoding < Node::Object # @return [String, nil] def content_type node_data["contentType"] end # @return [Map<String, Header>] def headers node_data["headers"] end # @return [String, nil] def style node_data["style"] end # @return [Boolean] def explode? node_data["explode"] end # @return [Boolean] def allow_reserved? node_data["allowReserved"] end end end end
Version data entries
4 entries across 4 versions & 1 rubygems