Method: Openapi3Parser::Validation::ErrorCollection::LocationTypeGroup#location_summary
- Defined in:
- lib/openapi3_parser/validation/error_collection.rb
#location_summary(with_type: false) ⇒ Object
70 71 72 73 74 |
# File 'lib/openapi3_parser/validation/error_collection.rb', line 70 def location_summary(with_type: false) string = source_location.to_s string << " (as #{for_type})" if with_type && !for_type&.empty? string end |