Class: Modern::Descriptor::Parameters::Path
- Inherits:
-
Base
- Object
- Dry::Struct
- Struct
- Base
- Modern::Descriptor::Parameters::Path
show all
- Defined in:
- lib/modern/descriptor/parameters.rb
Instance Method Summary
collapse
Methods inherited from Base
#friendly_name, #openapi3_in, #retrieve, #to_openapi3
#copy
Instance Method Details
#do_retrieve(_request, route_captures) ⇒ Object
64
65
66
|
# File 'lib/modern/descriptor/parameters.rb', line 64
def do_retrieve(_request, route_captures)
route_captures[name]
end
|
#required ⇒ Object
60
61
62
|
# File 'lib/modern/descriptor/parameters.rb', line 60
def required
true
end
|