Class: InterpolSchema2OpenapiSchema::Cli
- Inherits:
-
Thor
- Object
- Thor
- InterpolSchema2OpenapiSchema::Cli
- Defined in:
- lib/interpol_schema_2_openapi_schema.rb
Instance Method Summary collapse
Instance Method Details
#build_path_object(file_path) ⇒ Object
14 15 16 17 18 |
# File 'lib/interpol_schema_2_openapi_schema.rb', line 14 def build_path_object(file_path) puts OpenapiSchema::PathObject::Builder.new( InterpolSchema::Parser.new(file_path) ).build end |
#version ⇒ Object
22 23 24 |
# File 'lib/interpol_schema_2_openapi_schema.rb', line 22 def version puts InterpolSchema2OpenapiSchema::VERSION end |