[英]Does the Microsoft Graph API metadata confirm the OData Protocol specification?
https://graph.microsoft.com/v1.0/ $metadata?detailed=true https://graph.microsoft.com/v1.0/ $metadata?detailed=true
ll.6791 - 6795 ll.6791 - 6795
<Action Name="createSession" IsBound="true">
<Parameter Name="this" Type="microsoft.graph.workbook"/>
<Parameter Name="persistChanges" Type="Edm.Boolean" Nullable="false"/>
<ReturnType Type="microsoft.graph.workbookSessionInfo"/>
</Action>
http://docs.oasis-open.org/odata/odata/v4.0/errata03/os/complete/part1-protocol/odata-v4.0-errata03-os-part1-protocol-complete.html#_Toc453752308 http://docs.oasis-open.org/odata/odata/v4.0/errata03/os/complete/part1-protocol/odata-v4.0-errata03-os-part1-protocol-complete.html#_Toc453752308
Actions and Functions MAY be bound to an entity type, primitive type, complex type, or a collection.
动作和函数可以绑定到实体类型、原始类型、复杂类型或集合。 The first parameter of a bound operation is the binding parameter .
绑定操作的第一个参数是绑定参数。
"createSession" Action does not have "bindingParameter". “createSession”动作没有“bindingParameter”。 Is this a correct specification for the Microsoft Graph API metadata?
这是 Microsoft Graph API 元数据的正确规范吗? How can I report this to the Microsoft Graph team if this is an incorrect specification?
如果这是不正确的规范,我该如何向 Microsoft Graph 团队报告?
As you quoted, the spec says:正如你所引用的,规范说:
The first parameter of a bound operation is the binding parameter.
绑定操作的第一个参数是绑定参数。
So in this case the parameter named "this" is the binding parameter.所以在这种情况下,名为“this”的参数是绑定参数。 It is not necessary for the parameter to be named "bindingParameter".
参数不必命名为“bindingParameter”。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.