lib/open_api/config.rb in zero-rails_openapi-1.5.1 vs lib/open_api/config.rb in zero-rails_openapi-1.5.2

- old
+ new

@@ -30,12 +30,12 @@ # Getting started: https://swagger.io/docs/specification/basic-structure/ cattr_accessor :open_api_docs do { # # [REQUIRED] At least one doc. # zero_rails: { - # # [REQUIRED] ZRO will scan all the descendants of the root_controller, and then generate their docs. - # root_controller: ApplicationController, + # # [REQUIRED] ZRO will scan all the descendants of the base_doc_class, and then generate their docs. + # base_doc_class: ApplicationController, # # # [REQUIRED] Info Object: The info section contains API information # info: { # # [REQUIRED] The title of the application. # title: 'Zero Rails Apis', @@ -45,10 +45,10 @@ # } # } } end - cattr_accessor :dft_file_format do + cattr_accessor :file_format do 'binary' end def self.docs open_api_docs