Disclaimer: This project is still in a very early proof-of-concept phase and not ready for any production.
OpenApiQuery is a library inspired by OData to provide an easy way of interacting with your REST API resources. It adopts from OData parts of the query syntax as described in the OData specification OData Version 4.01. Part 2: URL Conventions
The ultimate goal is to support a full OData alike experience with using an OpenAPI specification as replacement for the EDM where needed. Hence the name OpenApiQuery.
| Feature | Description | Status |
|---|---|---|
$select |
Limit the returned properties | Supported |
$filter |
Filter result entities | Supported |
$expand |
Include related navigation properties | Supported |
$expand($filter) |
Filter related navigation properties which are included | Supported |
$expand($expand) |
Filter related navigation properties which are included | Supported |
$expand($orderby) |
Apply ordering to the expanded navigation properties | Supported |
$expand($skip) |
Apply paging to the expanded navigation properties | Supported |
$expand($top) |
Apply paging to the expanded navigation properties | Supported |
$skip |
Skip N elements in the result set | Supported |
$top |
Select the top N elements in the result set | Supported |
$count |
Provide the total count of items in the data source (with filters applied) | Supported |
Delta<T> |
Accept a partial entity | Supported |
SingleResult<T> |
Return a single entity with select and expand capabilities | Supported |
| Open Types | Extend your entities with any dynamic property | Not yet supported |
| Data Aggregation | See OData Extension for Data Aggregation Version 4.0 | Not yet supported |
