Module: Openapi3Parser::Node::ParameterLike
Overview
Instance Method Summary collapse
- #allow_empty_value? ⇒ Boolean
- #allow_reserved? ⇒ Boolean
- #content ⇒ Map<String, MediaType>?
- #deprecated? ⇒ Boolean
- #description ⇒ String
- #description_html ⇒ String?
- #example ⇒ Any
- #examples ⇒ Map<String, Example>?
- #explode? ⇒ Boolean
- #required? ⇒ Boolean
- #schema ⇒ Schema?
- #style ⇒ String?
Instance Method Details
#allow_empty_value? ⇒ Boolean
30 31 32 |
# File 'lib/openapi3_parser/node/parameter_like.rb', line 30 def allow_empty_value? self["allowEmptyValue"] end |
#allow_reserved? ⇒ Boolean
45 46 47 |
# File 'lib/openapi3_parser/node/parameter_like.rb', line 45 def allow_reserved? self["allowReserved"] end |
#content ⇒ Map<String, MediaType>?
65 66 67 |
# File 'lib/openapi3_parser/node/parameter_like.rb', line 65 def content self["content"] end |
#deprecated? ⇒ Boolean
25 26 27 |
# File 'lib/openapi3_parser/node/parameter_like.rb', line 25 def deprecated? self["deprecated"] end |
#description ⇒ String
10 11 12 |
# File 'lib/openapi3_parser/node/parameter_like.rb', line 10 def description self["description"] end |
#description_html ⇒ String?
15 16 17 |
# File 'lib/openapi3_parser/node/parameter_like.rb', line 15 def description_html render_markdown(description) end |
#example ⇒ Any
55 56 57 |
# File 'lib/openapi3_parser/node/parameter_like.rb', line 55 def example self["example"] end |
#examples ⇒ Map<String, Example>?
60 61 62 |
# File 'lib/openapi3_parser/node/parameter_like.rb', line 60 def examples self["examples"] end |
#explode? ⇒ Boolean
40 41 42 |
# File 'lib/openapi3_parser/node/parameter_like.rb', line 40 def explode? self["explode"] end |
#required? ⇒ Boolean
20 21 22 |
# File 'lib/openapi3_parser/node/parameter_like.rb', line 20 def required? self["required"] end |
#schema ⇒ Schema?
50 51 52 |
# File 'lib/openapi3_parser/node/parameter_like.rb', line 50 def schema self["schema"] end |
#style ⇒ String?
35 36 37 |
# File 'lib/openapi3_parser/node/parameter_like.rb', line 35 def style self["style"] end |