Sha256: 58cea432e264e6aaa9c1dd9d9ccb28a273df0c7c176311699d1b97eb488154db

Contents?: true

Size: 353 Bytes

Versions: 1

Compression:

Stored size: 353 Bytes

Contents

# frozen_string_literal: true

require "openapi3_parser/node/object"

module Openapi3Parser
  module Nodes
    class ServerVariable
      include Node::Object

      def enum
        node_data["enum"]
      end

      def default
        node_data["default"]
      end

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