rspec_api_documentation
rspec_api_documentation copied to clipboard
open_api formatter doesn't populate info node correctly
From the documentation seems to be a correct way to set API name and API description using following params on config:
# Change the name of the API on index pages
config.api_name = "API Documentation"
# Change the description of the API on index pages
config.api_explanation = "API Description"
This approach works well when exporting documentation in :html format, but when exporting to :open_API nothing happens and the info node seems to ignore configurations and set default values. (See attached screenshot)

I added an open_api.yml under config folder, but still nothing.
Is there another way to correctly populate open_api.json?
This worked for us: config.configurations_dir = Rails.root.join("config")
. Then it should find the yml file you reference.