add ability to cache swagger oauth
0.7.0