SwaggerRails.configure do |c| # Specify the API version and hence discovery_url (e.g. swagger/v1/swagger.json) # that will be used to power the embedded swagger-ui c.target_api_version = 'v1' end