Closed
Description
We need to start supporting PUT operations for entity sets and navigation properties based on the annotated Http method in the UpdateMethod
property of Org.OData.Capabilities.V1.UpdateRestrictions
annotation for a given target element. See: https://github.com/oasis-tcs/odata-vocabularies/blob/053724df1ab5d19cc198f2a52cf8a85a2be08d79/vocabularies/Org.OData.Capabilities.V1.xml#L676-L677
Assemblies affected
Microsoft.OpenApi.OData.Reader
Steps to reproduce
Using the GUI tool, generate an OpenAPI doc. from CSDL that has the PUT value annotated in the UpdateMethod
property in the Org.OData.Capabilities.V1.UpdateRestrictions
annotation for a given target element.
Expected result
PUT operation generated for this target element.
Actual result
The default PATCH operation is generated.