Sha256: 8ac22c4faf1600ba9803ddaefebf4db0f7964383b21f1c98eb2d826f35edb3ed

Contents?: true

Size: 300 Bytes

Versions: 1

Compression:

Stored size: 300 Bytes

Contents

# frozen_string_literal: true

require "openapi3_parser/node/object"

module Openapi3Parser
  module Nodes
    class ExternalDocumentation
      include Node::Object

      def description
        node_data["description"]
      end

      def url
        node_data["url"]
      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/external_documentation.rb