Make swaggerApi global so that javascript extensions have access to it.
Merge pull request #1 from andyalm/public_swaggerApi

Make swaggerApi global so that javascript extensions have access to it.