-
Notifications
You must be signed in to change notification settings - Fork 64
Closed
microsoftgraph/OpenAPI.NET.OData
#5Labels
fixedtype:enhancementEnhancement request targeting an existing experience.Enhancement request targeting an existing experience.
Milestone
Description
The following CSDL
<edmx:Edmx xmlns:edmx="http://docs.oasis-open.org/odata/ns/edmx" Version="4.0">
<edmx:DataServices>
<Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="microsoft.graph" >
<EntityContainer Name="TodoService">
<EntitySet Name="Todos" EntityType="microsoft.graph.Todo">
</EntitySet>
</EntityContainer>
<EntityType Name="Todo" HasStream="true">
<Key>
<PropertyRef Name="Id"/>
</Key>
<Property Name="Id" Type="Edm.String"/>
<Property Name="Logo" Type="Edm.Stream"/>
<Property Name="Description" Type="Edm.String"/>
</EntityType>
</Schema>
</edmx:DataServices>
</edmx:Edmx>
should create the following operations,
/Todos
/Todos/{Todo-Id}
/Todos/{Todo-Id}/$value (operationId = Todos_GetTodoContent)
/Todos/{Todo-Id}/Logo (operationId = Todos_GetTodoLogo)
Entities with HasStream=true should create a URL to the $value of the entity. Properties that are of type Stream should have an operation that allows directly accessing the property.
AB5155
Metadata
Metadata
Assignees
Labels
fixedtype:enhancementEnhancement request targeting an existing experience.Enhancement request targeting an existing experience.