I noticed that the generated API-documentation indicates a property called "@count" if the csdl-version is 4.0 or higher.
|
let CountPropertyObj = { [csdl.$Version > '4.0' ? '@count' : '@odata.count']: ref('count') }; |
CAP refers to the count property by @odata.count. Could it be that the ternary operator is switched around?
I noticed that the generated API-documentation indicates a property called "@count" if the csdl-version is 4.0 or higher.
openapi/lib/compile/csdl2openapi.js
Line 1556 in b6762d5
CAP refers to the count property by
@odata.count. Could it be that the ternary operator is switched around?