wordnik/swagger-ui — pull request #77 by steffkes (2012-11-07 14:53:27+00:00)
Title: Allow Callbacks for headers

I had to support a API which uses Basic-Auth for its Authentification, the easiest was to check if the given value is a function and if so, evalute it. I decided to pass the SwaggerApi Instance which contains the api_key - not sure if you'd like to pass something else?