Open chrisspre opened 4 years ago
Yes, it should be possible, need a media type first, see #179
Also it is completely optional to do so.
I would start with a tool that generates RSDL from CSDL, and then see in what scenarios returning RSDL directly from the service would be valuable. As per our positioning, RSDL is intended to be human-readable, and CSDL is the machine-readable.
.../$metadata can be requested already in two formats, as JSON and as XML
https://docs.oasis-open.org/odata/odata/v4.01/odata-v4.01-part1-protocol.html#sec_MetadataDocumentRequest
Once we have a media type for RSDL, it can be requested at
/$metadata
.Check if context URLs are problematic with "RSDL metadata"