Sha256: 696b1bafb55f820b22241a67c691e3065970177aab71c61f3400273b552d2be6

Contents?: true

Size: 481 Bytes

Versions: 1

Compression:

Stored size: 481 Bytes

Contents

# frozen_string_literal: true

require "openapi3_parser/node/object"

module Openapi3Parser
  module Nodes
    class Encoding
      include Node::Object

      def content_type
        node_data["contentType"]
      end

      def headers
        node_data["headers"]
      end

      def style
        node_data["style"]
      end

      def explode?
        node_data["explode"]
      end

      def allow_reserved?
        node_data["allowReserved"]
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
openapi3_parser-0.1.0 lib/openapi3_parser/nodes/encoding.rb