-
Notifications
You must be signed in to change notification settings - Fork 218
Open
@boghyon
Description
Similar to the issue #119, the reference service Northwind does currently not comply with the OData V2 specification if the request URL contains the system query option $top.
-
Bad example: https://services.odata.org/V2/Northwind/Northwind.svc/Products?$format=json&$top=2
See that the response starts with{"d":[without the"results". The specification, however, mandates to respond with the"results"property if a collection is requested. See the topic "2.2.6.3.2 Entity Set (as a JSON Array)" on page 101. -
Good example: https://services.odata.org/V2/Northwind/Northwind.svc/Products?$format=json&$skip=2
See that the response starts correctly with{"d":"results":[if the$topis not included in the URL.
Metadata
Metadata
Assignees
Labels
No labels