Skip to content

Commit

Permalink
Superfluous [ (#2012)
Browse files Browse the repository at this point in the history
  • Loading branch information
HeikoTheissen authored Oct 15, 2024
1 parent a399973 commit c92ca2b
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion docs/odata-protocol/odata-protocol.html
Original file line number Diff line number Diff line change
Expand Up @@ -1788,7 +1788,7 @@ <h4 id="11251-system-query-option-select"><a id="SystemQueryOptionselect" href="
<pre><code>GET http://host/service/Products?$select=DemoService.*</code></pre>
</div>
<p>Query options can be applied to a selected property by appending a semicolon-separated list of query options, enclosed in parentheses, to the property. Allowed system query options are <a href="#SystemQueryOptionselect"><code>$select</code></a> and <a href="#SystemQueryOptioncompute"><code>$compute</code></a> for complex properties, plus <a href="#SystemQueryOptionfilter"><code>$filter</code></a>, <a href="#SystemQueryOptionsearch"><code>$search</code></a>, <a href="#SystemQueryOptioncount"><code>$count</code></a>, <a href="#SystemQueryOptionorderby"><code>$orderby</code></a>, <a href="#SystemQueryOptionskip"><code>$skip</code></a>, and <a href="#SystemQueryOptiontop"><code>$top</code></a> for collection-valued properties. A property MUST NOT have select options specified in more than one place in a request and MUST NOT have both select options and expand options specified.</p>
<p>If the <code>$select</code> query option is not specified, [the service returns the full set of properties or a default set of properties. The default set of properties MUST include all key properties. Services may change the default set of properties returned. This includes returning new properties by default and omitting properties previously returned by default. Clients that rely on specific properties in the response MUST use <code>$select</code> with the required properties or with <code>*</code>.</p>
<p>If the <code>$select</code> query option is not specified, the service returns the full set of properties or a default set of properties. The default set of properties MUST include all key properties. Services may change the default set of properties returned. This includes returning new properties by default and omitting properties previously returned by default. Clients that rely on specific properties in the response MUST use <code>$select</code> with the required properties or with <code>*</code>.</p>
<p>If the service returns less than the full set of properties, either because the client specified a select or because the service returned a subset of properties in the absence of a select, the <a href="#ContextURL">context URL</a> MUST reflect the set of selected properties and projected <a href="#SystemQueryOptionexpand">expanded</a> navigation properties.</p>
</details>
<details open><summary>
Expand Down
2 changes: 1 addition & 1 deletion docs/odata-protocol/odata-protocol.md
Original file line number Diff line number Diff line change
Expand Up @@ -2946,7 +2946,7 @@ for collection-valued properties. A property MUST NOT have select
options specified in more than one place in a request and MUST NOT have
both select options and expand options specified.

If the `$select` query option is not specified, [the service returns
If the `$select` query option is not specified, the service returns
the full set of properties or a default set of properties. The default
set of properties MUST include all key properties.
Services may change the default set of properties returned. This
Expand Down
2 changes: 1 addition & 1 deletion odata-protocol/11 Data Service Requests.md
Original file line number Diff line number Diff line change
Expand Up @@ -384,7 +384,7 @@ for collection-valued properties. A property MUST NOT have select
options specified in more than one place in a request and MUST NOT have
both select options and expand options specified.

If the `$select` query option is not specified, [the service returns
If the `$select` query option is not specified, the service returns
the full set of properties or a default set of properties. The default
set of properties MUST include all key properties.
Services may change the default set of properties returned. This
Expand Down

0 comments on commit c92ca2b

Please sign in to comment.