Skip to content
This repository has been archived by the owner on Oct 20, 2022. It is now read-only.

Where should I add reloadOnSearch? #33

Open
testn opened this issue Dec 4, 2015 · 1 comment
Open

Where should I add reloadOnSearch? #33

testn opened this issue Dec 4, 2015 · 1 comment
Labels

Comments

@testn
Copy link

testn commented Dec 4, 2015

I saw a warning saying that
AngularSwaggerUI: when using permalinks you should set reloadOnSearch=false in your route config to avoid UI being rebuilt multiple times

However, I'm not sure where and how should I add reloadOnSearch=false. Could you please let me know?

@mathieuales
Copy link
Collaborator

Take a look at https://docs.angularjs.org/api/ngRoute/provider/$routeProvider
reloadOnSearch should be set in configuration of your route containing angular-swagger-ui

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants