lib/open_api/config.rb in zero-rails_openapi-1.6.1 vs lib/open_api/config.rb in zero-rails_openapi-1.7.0
- old
+ new
@@ -30,11 +30,11 @@
# 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 base_doc_class, and then generate their docs.
- # base_doc_class: ApplicationController,
+ # # [REQUIRED] ZRO will scan all the descendants of the base_doc_classes, and then generate their docs.
+ # base_doc_classes: [ApplicationController],
#
# # [REQUIRED] Info Object: The info section contains API information
# info: {
# # [REQUIRED] The title of the application.
# title: 'Zero Rails Apis',