Class: OpenAPIParser::PathItemFinder::Result

Inherits:
Object
  • Object
show all
Defined in:
lib/openapi_parser/path_item_finder.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(path_item_object, operation_object, original_path, path_params) ⇒ Result

Returns a new instance of Result.



36
37
38
39
40
41
# File 'lib/openapi_parser/path_item_finder.rb', line 36

def initialize(path_item_object, operation_object, original_path, path_params)
  @path_item_object = path_item_object
  @operation_object = operation_object
  @original_path = original_path
  @path_params = path_params
end

Instance Attribute Details

#operation_objectOpenAPIParser::Schemas::Operation (readonly)



36
37
38
# File 'lib/openapi_parser/path_item_finder.rb', line 36

def operation_object
  @operation_object
end

#original_pathString (readonly)

Returns:

  • (String)


36
37
38
# File 'lib/openapi_parser/path_item_finder.rb', line 36

def original_path
  @original_path
end

#path_item_objectOpenAPIParser::Schemas::PathItem (readonly)



36
37
38
# File 'lib/openapi_parser/path_item_finder.rb', line 36

def path_item_object
  @path_item_object
end

#path_paramsHash{String => String} (readonly)

Returns:

  • (Hash{String => String})


36
37
38
# File 'lib/openapi_parser/path_item_finder.rb', line 36

def path_params
  @path_params
end