Sha256: cd221750f6aaa32226f5a6809e037ac4342621453ad3aa21f309638e76531655

Contents?: true

Size: 339 Bytes

Versions: 4

Compression:

Stored size: 339 Bytes

Contents

# frozen_string_literal: true

require "openapi3_parser/node/map"

module Openapi3Parser
  module Node
    # @see https://github.com/OAI/OpenAPI-Specification/blob/master/versions/3.0.0.md#responsesObject
    class Responses < Node::Map
      # @return [Response]
      def default
        node_data["default"]
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
openapi3_parser-0.5.2 lib/openapi3_parser/node/responses.rb
openapi3_parser-0.5.1 lib/openapi3_parser/node/responses.rb
openapi3_parser-0.5.0 lib/openapi3_parser/node/responses.rb
openapi3_parser-0.4.0 lib/openapi3_parser/node/responses.rb