Sha256: 99431ab375dac4444b128f7519c7abeffb93917a81fae3adc9b29a1ea24905ea

Contents?: true

Size: 556 Bytes

Versions: 1

Compression:

Stored size: 556 Bytes

Contents

# frozen_string_literal: true

require "openapi3_parser/node/object"

module Openapi3Parser
  module Nodes
    class Link
      include Node::Object

      def operation_ref
        node_data["operationRef"]
      end

      def operation_id
        node_data["operationId"]
      end

      def parameters
        node_data["parameters"]
      end

      def request_body
        node_data["requestBody"]
      end

      def description
        node_data["description"]
      end

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