Closed oklemenz2 closed 11 months ago
This issue is stale because it has been open for 14 days with no activity.
This issue was closed because it has been inactive for 7 days since being marked as stale.
Shifted to major refactoring, implementing an odata-v2 protocol adapter as CDS middleware by rewriting same express request, without additional http call. Version 2.0.0.
protocolBased
(default false) -> switch default for major version?odata-v2
, then it is exposed, otherwise ignoredodata-v4
otherwise redirect does not workodata/v2/xyz => odata/v4/xyz => odata/v4/abc or /abc
)That means service annotation need to look like this
Would result in paths =>
odata/v4/xyz
andodata/v2/xyz
Absolute paths (/xyz) would be =>/xyz
andodata/v2/xyz
Specifying a path for kind
odata-v2
is not supported. This is currently not supported, as it is assumed, that the protocol prefix always can be replaced. i.e.odata-v2
=>odata-v4
or/