Skip to content

Commit

Permalink
Relative URLs for undergraduates
Browse files Browse the repository at this point in the history
  • Loading branch information
HeikoTheissen committed Sep 1, 2023
1 parent fafb6f2 commit b15b7a0
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion vocabularies/Common.json
Original file line number Diff line number Diff line change
Expand Up @@ -1310,7 +1310,7 @@
"$Collection": true,
"@Core.IsURL": true,
"@Core.Description": "URLs (relative to the request URL) that address entities, properties or action/function parameters for which recommendations shall be retrieved",
"@Core.LongDescription": "The request `SalesOrder('A')/ns.RecommendationsFunction?Targets=[\".\",\"Items(10)\"]`\n retrieves recommendations for the entities `SalesOrder('A')` and `SalesOrder('A')/Items(10)`."
"@Core.LongDescription": "The request `SalesOrder('A')/ns.RecommendationsFunction?Targets=[\"\",\"Items(10)\"]`\n retrieves recommendations for the entities `SalesOrder('A')` and `SalesOrder('A')/Items(10)`."
}
],
"$ReturnType": {
Expand Down
2 changes: 1 addition & 1 deletion vocabularies/Common.md
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ The template function itself cannot be invoked.
Parameter|Type|Description
:--------|:---|:----------
**[Entity](./Common.xml#L1470:~:text=<Function%20Name="-,Template_RecommendationsFunction,-")**|EntityType|**Binding parameter**
[Targets](./Common.xml#L1471:~:text=<Function%20Name="-,Template_RecommendationsFunction,-")|\[URL\]|URLs (relative to the request URL) that address entities, properties or action/function parameters for which recommendations shall be retrieved<br>The request `SalesOrder('A')/ns.RecommendationsFunction?Targets=[".","Items(10)"]` retrieves recommendations for the entities `SalesOrder('A')` and `SalesOrder('A')/Items(10)`.
[Targets](./Common.xml#L1471:~:text=<Function%20Name="-,Template_RecommendationsFunction,-")|\[URL\]|URLs (relative to the request URL) that address entities, properties or action/function parameters for which recommendations shall be retrieved<br>The request `SalesOrder('A')/ns.RecommendationsFunction?Targets=["","Items(10)"]` retrieves recommendations for the entities `SalesOrder('A')` and `SalesOrder('A')/Items(10)`.
[&rarr;](./Common.xml#L1479:~:text=<Function%20Name="-,Template_RecommendationsFunction,-")|URL|URL (relative to the service URL) for retrieving the recommendations (which are computed asynchronously) ([Example](./Common.xml#L1482))


Expand Down
2 changes: 1 addition & 1 deletion vocabularies/Common.xml
Original file line number Diff line number Diff line change
Expand Up @@ -1472,7 +1472,7 @@ The template function itself cannot be invoked.</String>
<Annotation Term="Core.IsURL" />
<Annotation Term="Core.Description" String="URLs (relative to the request URL) that address entities, properties or action/function parameters for which recommendations shall be retrieved" />
<Annotation Term="Core.LongDescription">
<String>The request `SalesOrder('A')/ns.RecommendationsFunction?Targets=[".","Items(10)"]`
<String>The request `SalesOrder('A')/ns.RecommendationsFunction?Targets=["","Items(10)"]`
retrieves recommendations for the entities `SalesOrder('A')` and `SalesOrder('A')/Items(10)`.</String>
</Annotation>
</Parameter>
Expand Down

0 comments on commit b15b7a0

Please sign in to comment.