You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
open_api formatter doesn't populate info node correctly #464
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?
Activity
joelcahalan commentedon Jul 21, 2020
This worked for us:
config.configurations_dir = Rails.root.join("config"). Then it should find the yml file you reference.JosimarCamargo commentedon Jan 17, 2025
It worked for, thanks