Forum Discussion
HKosova
5 years agoSmartBear Alumni (Retired)
Hi Herry,
The next version of the spec, OpenAPI 3.1 (which is in the RC stage now), will support defining roles for operations secured with API keys:
paths:
/secret:
get:
security:
- JwtBearerAuth: [admin] # <-----
In OpenAPI 2.0 and 3.0, you can mention these roles in the operation descriptions.
Related Content
- 7 years ago
- 3 years ago
Recent Discussions
- 2 days ago
- 3 days ago
- 19 days ago