When in minimal metadata mode there are some times that the type information is included on the payload even though the type is heuristically inferable from the metadata document.
1) Create a Web API project.
2) Add OData support.
3) Create a model consisting of an entity with a binary property.
4) Create some mock data to return.
4) Check $metadata document to ensure that the binary property is listed in the metadata document.
5) Query for the feed or for a specific entry in minimal metadata mode and see the response.
The BinaryProperty@odata.type annotation shouldn't be there as it's defined on the metadata document.
Comments: commit 8b6e0c95ffc6d323aae628bd9a2af1b61293699c
1) Create a Web API project.
2) Add OData support.
3) Create a model consisting of an entity with a binary property.
4) Create some mock data to return.
4) Check $metadata document to ensure that the binary property is listed in the metadata document.
5) Query for the feed or for a specific entry in minimal metadata mode and see the response.
The BinaryProperty@odata.type annotation shouldn't be there as it's defined on the metadata document.
Comments: commit 8b6e0c95ffc6d323aae628bd9a2af1b61293699c