Class: KrakendOpenAPI::OA3Reader
- Inherits:
-
Object
- Object
- KrakendOpenAPI::OA3Reader
- Defined in:
- lib/readers/oa3_reader.rb
Overview
Reads OpenAPI spec files
Instance Method Summary collapse
-
#initialize(path) ⇒ OA3Reader
constructor
A new instance of OA3Reader.
- #paths ⇒ Object
Constructor Details
#initialize(path) ⇒ OA3Reader
Returns a new instance of OA3Reader.
9 10 11 |
# File 'lib/readers/oa3_reader.rb', line 9 def initialize(path) @path = path end |
Instance Method Details
#paths ⇒ Object
13 14 15 16 |
# File 'lib/readers/oa3_reader.rb', line 13 def paths read unless defined?(@data) @data['paths'] end |