Class: Gitlab::GrapeOpenapi::Converters::PathConverter::PathVariant

Inherits:
Struct
  • Object
show all
Defined in:
lib/gitlab/grape_openapi/converters/path_converter.rb

Overview

Optional path segment variants are each represented in the OpenAPI spec as a unique path.

Instance Attribute Summary collapse

Instance Attribute Details

#keyObject

Returns the value of attribute key

Returns:

  • (Object)

    the current value of key



17
18
19
# File 'lib/gitlab/grape_openapi/converters/path_converter.rb', line 17

def key
  @key
end

#path_overrideObject

Returns the value of attribute path_override

Returns:

  • (Object)

    the current value of path_override



17
18
19
# File 'lib/gitlab/grape_openapi/converters/path_converter.rb', line 17

def path_override
  @path_override
end

#removed_paramsObject

Returns the value of attribute removed_params

Returns:

  • (Object)

    the current value of removed_params



17
18
19
# File 'lib/gitlab/grape_openapi/converters/path_converter.rb', line 17

def removed_params
  @removed_params
end