Class: Openapi3Parser::NodeFactory::ObjectFactory::Dsl::MutuallyExclusiveField

Inherits:
Struct
  • Object
show all
Defined in:
lib/openapi3_parser/node_factory/object_factory/dsl.rb

Instance Attribute Summary collapse

Instance Attribute Details

#fieldsObject

Returns the value of attribute fields

Returns:

  • (Object)

    the current value of fields



9
10
11
# File 'lib/openapi3_parser/node_factory/object_factory/dsl.rb', line 9

def fields
  @fields
end

#requiredObject

Returns the value of attribute required

Returns:

  • (Object)

    the current value of required



9
10
11
# File 'lib/openapi3_parser/node_factory/object_factory/dsl.rb', line 9

def required
  @required
end