Closed richardlay closed 6 years ago
on 3 security is not part of swaggered-ui... it now has to be specified through the swagger-schema (hapi-swaggered)
Hi @z0mt3c, I was actually referring to the authorization
option (not auth
). Before I was able to set a header using this feature. Is this no longer available?
Jup, latest swagger-ui expects the authorization to be part of the json.
OK. So the authorization
option on this library no longer does anything? If so, would be nice to remove from the documentation.
Just to be clear, what I want to achieve is to set a global header that will be passed to every API call.
Using the options below, the authorization fields don't appear on the swagger page. It used to for v2.x