A year late for you, but should others run into the same issue: try clearing cached files. I ran into the same issue and this resolved it. I'm assuming the issue was due to working with several different projects locally (all under localhost:5000), but using different versions of swagger. Simply refreshing the page didn't help; I has to go thought the trouble of clearing out cached files.