Class: R2OAS::Schema::V3::DocBuilder
- Inherits:
-
BaseBuilder
- Object
- Base
- Base
- Base
- BaseBuilder
- R2OAS::Schema::V3::DocBuilder
- Defined in:
- lib/r2-oas/schema/v3/builder/doc_builder.rb
Constant Summary
Constants inherited from Base
Base::SUPPORT_COMPONENTS_OBJECTS
Instance Attribute Summary collapse
-
#oas_doc ⇒ Object
Returns the value of attribute oas_doc.
-
#pure_oas_doc ⇒ Object
Returns the value of attribute pure_oas_doc.
Instance Method Summary collapse
- #build_docs ⇒ Object
-
#initialize(opts = {}) ⇒ DocBuilder
constructor
A new instance of DocBuilder.
Methods included from R2OAS::Sortable
Methods inherited from Base
Constructor Details
#initialize(opts = {}) ⇒ DocBuilder
Returns a new instance of DocBuilder.
14 15 16 |
# File 'lib/r2-oas/schema/v3/builder/doc_builder.rb', line 14 def initialize(opts = {}) super end |
Instance Attribute Details
#oas_doc ⇒ Object
Returns the value of attribute oas_doc.
12 13 14 |
# File 'lib/r2-oas/schema/v3/builder/doc_builder.rb', line 12 def oas_doc @oas_doc end |
#pure_oas_doc ⇒ Object
Returns the value of attribute pure_oas_doc.
12 13 14 |
# File 'lib/r2-oas/schema/v3/builder/doc_builder.rb', line 12 def pure_oas_doc @pure_oas_doc end |
Instance Method Details
#build_docs ⇒ Object
18 19 20 21 22 23 24 |
# File 'lib/r2-oas/schema/v3/builder/doc_builder.rb', line 18 def build_docs logger.info '[Build OAS schema files] start' logger.info '[Build OAS docs from schema files] start' build_docs_from_schema_files logger.info '[Build OAS docs from schema files] end' logger.info '[Build OAS schema files] end' end |