It is recommended to add the securityDefinitions in the swagger definition to be able to pass access tokens when invoking an API. Edit the source of the API from the API Publisher and add the code given below. Code Block |
---|
securityDefinitions:
default:
type: oauth2
authorizationUrl: 'https://<GW-HOST>:<GW-PORT>/authorize'
flow: implicit
scopes: {}
security:
- default: [] |
|