lib/open_api/config.rb in zero-rails_openapi-1.4.0 vs lib/open_api/config.rb in zero-rails_openapi-1.4.1

- old
+ new

@@ -12,11 +12,19 @@ cattr_accessor :generate_doc do true end + cattr_accessor :doc_location do + ['./app/**/*_doc.rb'] + end + cattr_accessor :rails_routes_file do nil + end + + cattr_accessor :active_record_base do + ApplicationRecord end # Everything about OAS3 is on https://github.com/OAI/OpenAPI-Specification/blob/OpenAPI.next/versions/3.0.0.md # Getting started: https://swagger.io/docs/specification/basic-structure/ cattr_accessor :open_api_docs do