Simon Kiteley PRO said about 6 years ago on Rails API Documentation :
Not sure if its the correct solution but add a subdirectory 'docs' and use: ``` RspecApiDocumentation.configure do |config| config.docs_dir = Rails.root.join('public/docs') ... end ``` and ``` SwaggerUiEngine.configure do |config| config.swagger_url = '/docs/open_api.json' ... end ```