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.



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

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)



33
34
35
# File 'lib/openapi_parser/path_item_finder.rb', line 33

def operation_object
  @operation_object
end

#original_pathString (readonly)

Returns:

  • (String)


33
34
35
# File 'lib/openapi_parser/path_item_finder.rb', line 33

def original_path
  @original_path
end

#path_item_objectOpenAPIParser::Schemas::PathItem (readonly)



33
34
35
# File 'lib/openapi_parser/path_item_finder.rb', line 33

def path_item_object
  @path_item_object
end

#path_paramsHash{String => String} (readonly)

Returns:

  • (Hash{String => String})


33
34
35
# File 'lib/openapi_parser/path_item_finder.rb', line 33

def path_params
  @path_params
end