-
Type: Bug
-
Status: Closed
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: V4.01_CS01
-
Fix Version/s: V4.01_CS02
-
Component/s: Vocabularies
-
Labels:None
-
Environment:
[Proposed]
-
Proposal:
-
Resolution:
Our Authorization vocabulary was defined based on Swagger V2.
OpenAPI V3 changes slightly the way authorization is specified. In particular, it allows defining authorization flows, and then referencing those flows with a required set of scopes for a particular operation.
OData-884 proposes adding the ability to specify the requests (and corresponding responses) associated with an entity set, singleton, etc. As part of this proposal, it makes sense to be able to associate particular flows and required scopes with those requests. This can be done by:
1) Adding a Name to the Authorization type in order to reference a particular authorization, and
2) Adding a "SecuritySchemes" property to the HTTPRequest type that is a collection of authorization/scope requirements for invoking this particular request.