Simon Kiteley PRO said over 5 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 ```