Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Advertise support for @expression in payloads #274

Open
wants to merge 6 commits into
base: v4.02-release-candidate
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 17 additions & 0 deletions vocabularies/Org.OData.Capabilities.V1.json
Original file line number Diff line number Diff line change
Expand Up @@ -791,6 +791,23 @@
],
"@Core.Description": "Supports [passing query options in the request body](http://docs.oasis-open.org/odata/odata/v4.01/odata-v4.01-part2-url-conventions.html#sec_PassingQueryOptionsintheRequestBody)"
},
"PayloadExpressionSupport": {
"$Kind": "Term",
"$Type": "Capabilities.PayloadExpressionSupportType",
"$AppliesTo": [
"EntityContainer"
],
"@Core.Description": "Whether expressions for parameters in action payloads [OData-JSON, section 18] and `/$query` payloads [OData-URL, section 4.17] are supported",
"@Core.LongDescription": "Expressions can occur in payload properties that represent\n- action parameters if the property name has the suffix `@expression` [OData-JSON, section 18] or\n- function parameters if the property name has the suffix `@expression` in `/\\$query` payloads [OData-URL, section 4.17]\n- system query options (without suffix) in `/\\$query` payloads [OData-URL, section 4.17]."
},
"PayloadExpressionSupportType": {
"$Kind": "ComplexType",
"URLExpressionsSupported": {
"$Type": "Edm.Boolean",
"$DefaultValue": false,
"@Core.Description": "Common expressions defined in [OData-URL](https://oasis-tcs.github.io/odata-specs/odata-url-conventions/odata-url-conventions.html#CommonExpressionSyntax) are supported in payloads"
}
},
"InsertRestrictions": {
"$Kind": "Term",
"$Type": "Capabilities.InsertRestrictionsType",
Expand Down
Loading