Hi Thilini,
1. You can provide a requestInteceptor when initializing the swagger ui
component. I used that to inject the access token.
Ex:
requestInterceptor: function(request) {
request.headers.Authorization = "Bearer " + key;
return request;}
2. I haven't tried this but you should be
Hi,
When upgrading swagger-ui in APIM to 3.x, we found that some of the
functionalities which have been supported by swagger 2.x are not available
in swagger-ui 3.x. Swagger ui 3.x is a rewrite based on react and it seems
like they haven't pushed some of the features from swagger 2.x to 3.x.