-
Notifications
You must be signed in to change notification settings - Fork 81
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into feature/metadata
# Conflicts: # tools/V4-CSDL-to-OpenAPI.xsl # tools/tests/Northwind-key-as-segment.openapi3.json # tools/tests/Northwind-key-as-segment.swagger.json # tools/tests/TripPin.openapi3.json # tools/tests/TripPin.swagger.json # tools/tests/annotations.openapi3.json # tools/tests/annotations.swagger.json # tools/tests/authorization.openapi3.json # tools/tests/authorization.swagger.json # tools/tests/containment.openapi3.json # tools/tests/containment.swagger.json # tools/tests/csdl-16.1.openapi3.json # tools/tests/csdl-16.1.swagger.json # tools/tests/descriptions.openapi3.json # tools/tests/descriptions.swagger.json # tools/tests/odata-rw-v2.openapi3.json # tools/tests/odata-rw-v2.swagger.json # tools/tests/odata-rw-v3.openapi3.json # tools/tests/odata-rw-v3.swagger.json
- Loading branch information
Showing
31 changed files
with
1,369 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -101,6 +101,9 @@ | |
"type": "object", | ||
"title": "Collection of Photo", | ||
"properties": { | ||
"@odata.count": { | ||
"$ref": "#/components/schemas/count" | ||
}, | ||
"value": { | ||
"type": "array", | ||
"items": { | ||
|
@@ -364,6 +367,9 @@ | |
"type": "object", | ||
"title": "Collection of Person", | ||
"properties": { | ||
"@odata.count": { | ||
"$ref": "#/components/schemas/count" | ||
}, | ||
"value": { | ||
"type": "array", | ||
"items": { | ||
|
@@ -597,6 +603,9 @@ | |
"type": "object", | ||
"title": "Collection of Trip", | ||
"properties": { | ||
"@odata.count": { | ||
"$ref": "#/components/schemas/count" | ||
}, | ||
"value": { | ||
"type": "array", | ||
"items": { | ||
|
@@ -784,6 +793,9 @@ | |
"type": "object", | ||
"title": "Collection of Person", | ||
"properties": { | ||
"@odata.count": { | ||
"$ref": "#/components/schemas/count" | ||
}, | ||
"value": { | ||
"type": "array", | ||
"items": { | ||
|
@@ -953,6 +965,9 @@ | |
"type": "object", | ||
"title": "Collection of Trip", | ||
"properties": { | ||
"@odata.count": { | ||
"$ref": "#/components/schemas/count" | ||
}, | ||
"value": { | ||
"type": "array", | ||
"items": { | ||
|
@@ -1164,6 +1179,9 @@ | |
"type": "object", | ||
"title": "Collection of Person", | ||
"properties": { | ||
"@odata.count": { | ||
"$ref": "#/components/schemas/count" | ||
}, | ||
"value": { | ||
"type": "array", | ||
"items": { | ||
|
@@ -1275,6 +1293,9 @@ | |
"type": "object", | ||
"title": "Collection of Photo", | ||
"properties": { | ||
"@odata.count": { | ||
"$ref": "#/components/schemas/count" | ||
}, | ||
"value": { | ||
"type": "array", | ||
"items": { | ||
|
@@ -1395,6 +1416,9 @@ | |
"type": "object", | ||
"title": "Collection of PlanItem", | ||
"properties": { | ||
"@odata.count": { | ||
"$ref": "#/components/schemas/count" | ||
}, | ||
"value": { | ||
"type": "array", | ||
"items": { | ||
|
@@ -1686,6 +1710,9 @@ | |
"type": "object", | ||
"title": "Collection of Airline", | ||
"properties": { | ||
"@odata.count": { | ||
"$ref": "#/components/schemas/count" | ||
}, | ||
"value": { | ||
"type": "array", | ||
"items": { | ||
|
@@ -1914,6 +1941,9 @@ | |
"type": "object", | ||
"title": "Collection of Airport", | ||
"properties": { | ||
"@odata.count": { | ||
"$ref": "#/components/schemas/count" | ||
}, | ||
"value": { | ||
"type": "array", | ||
"items": { | ||
|
@@ -2151,6 +2181,9 @@ | |
"type": "object", | ||
"title": "Collection of Trip", | ||
"properties": { | ||
"@odata.count": { | ||
"$ref": "#/components/schemas/count" | ||
}, | ||
"value": { | ||
"type": "array", | ||
"items": { | ||
|
@@ -2317,6 +2350,9 @@ | |
"type": "object", | ||
"title": "Collection of Person", | ||
"properties": { | ||
"@odata.count": { | ||
"$ref": "#/components/schemas/count" | ||
}, | ||
"value": { | ||
"type": "array", | ||
"items": { | ||
|
@@ -2476,6 +2512,9 @@ | |
"type": "object", | ||
"title": "Collection of Trip", | ||
"properties": { | ||
"@odata.count": { | ||
"$ref": "#/components/schemas/count" | ||
}, | ||
"value": { | ||
"type": "array", | ||
"items": { | ||
|
@@ -2669,6 +2708,9 @@ | |
"type": "object", | ||
"title": "Collection of Person", | ||
"properties": { | ||
"@odata.count": { | ||
"$ref": "#/components/schemas/count" | ||
}, | ||
"value": { | ||
"type": "array", | ||
"items": { | ||
|
@@ -2771,6 +2813,9 @@ | |
"type": "object", | ||
"title": "Collection of Photo", | ||
"properties": { | ||
"@odata.count": { | ||
"$ref": "#/components/schemas/count" | ||
}, | ||
"value": { | ||
"type": "array", | ||
"items": { | ||
|
@@ -2882,6 +2927,9 @@ | |
"type": "object", | ||
"title": "Collection of PlanItem", | ||
"properties": { | ||
"@odata.count": { | ||
"$ref": "#/components/schemas/count" | ||
}, | ||
"value": { | ||
"type": "array", | ||
"items": { | ||
|
@@ -3570,12 +3618,18 @@ | |
"format": "int64", | ||
"example": "42" | ||
}, | ||
"[email protected]": { | ||
"$ref": "#/components/schemas/count" | ||
}, | ||
"Friends": { | ||
"type": "array", | ||
"items": { | ||
"$ref": "#/components/schemas/Microsoft.OData.SampleService.Models.TripPin.Person" | ||
} | ||
}, | ||
"[email protected]": { | ||
"$ref": "#/components/schemas/count" | ||
}, | ||
"Trips": { | ||
"type": "array", | ||
"items": { | ||
|
@@ -4360,12 +4414,18 @@ | |
"type": "string" | ||
} | ||
}, | ||
"[email protected]": { | ||
"$ref": "#/components/schemas/count" | ||
}, | ||
"Photos": { | ||
"type": "array", | ||
"items": { | ||
"$ref": "#/components/schemas/Microsoft.OData.SampleService.Models.TripPin.Photo" | ||
} | ||
}, | ||
"[email protected]": { | ||
"$ref": "#/components/schemas/count" | ||
}, | ||
"PlanItems": { | ||
"type": "array", | ||
"items": { | ||
|
@@ -4480,6 +4540,17 @@ | |
} | ||
} | ||
}, | ||
"count": { | ||
"anyOf": [ | ||
{ | ||
"type": "number" | ||
}, | ||
{ | ||
"type": "string" | ||
} | ||
], | ||
"description": "The number of entities in the collection. Available when using the [$count](http://docs.oasis-open.org/odata/odata/v4.01/odata-v4.01-part1-protocol.html#sec_SystemQueryOptioncount) query option." | ||
}, | ||
"geoPoint": { | ||
"type": "object", | ||
"properties": { | ||
|
Oops, something went wrong.