I have added a swagger.json documentation for one of my API^s that uses oauth password flow with scopes.
When I visit the Tyk Developer Portal and select “View documentation” for the APi, it seems that the swagger-ui bundled with the Dashboard (located in /portal/portal-assets - I’m using the docker image ykio/tyk-dashboard) is an older version that contains an bug when encoding the scopes for oauth password flow. This bug in swagger-ui was fixed here
Solution: update the swagger-ui bundled with ykio/tyk-dashboard to the latest version.
In the meantime, can I just replace the swagger js files in my container by the latest official dist from swagger, or are those swagger assets in any way customized by tyk ?