diff --git a/src/Microsoft.OpenApi.OData.Reader/Microsoft.OpenAPI.OData.Reader.csproj b/src/Microsoft.OpenApi.OData.Reader/Microsoft.OpenAPI.OData.Reader.csproj index 154d7730..cb79ac6c 100644 --- a/src/Microsoft.OpenApi.OData.Reader/Microsoft.OpenAPI.OData.Reader.csproj +++ b/src/Microsoft.OpenApi.OData.Reader/Microsoft.OpenAPI.OData.Reader.csproj @@ -15,13 +15,13 @@ netstandard2.0 Microsoft.OpenApi.OData true - 1.6.6 + 1.6.7 This package contains the codes you need to convert OData CSDL to Open API Document of Model. © Microsoft Corporation. All rights reserved. Microsoft OpenApi OData EDM https://github.com/Microsoft/OpenAPI.NET.OData - - Adds support for IndexableByKey restrictions annotations on entity sets #541 + - Fixes empty response objects for OData type cast paths. #546 Microsoft.OpenApi.OData.Reader ..\..\tool\Microsoft.OpenApi.OData.snk diff --git a/src/Microsoft.OpenApi.OData.Reader/Operation/ComplexPropertyGetOperationHandler.cs b/src/Microsoft.OpenApi.OData.Reader/Operation/ComplexPropertyGetOperationHandler.cs index 42a163e2..072ac9e8 100644 --- a/src/Microsoft.OpenApi.OData.Reader/Operation/ComplexPropertyGetOperationHandler.cs +++ b/src/Microsoft.OpenApi.OData.Reader/Operation/ComplexPropertyGetOperationHandler.cs @@ -143,39 +143,13 @@ protected override void SetExtensions(OpenApiOperation operation) /// protected override void SetResponses(OpenApiOperation operation) { - if(ComplexPropertySegment.Property.Type.IsCollection()) - SetCollectionResponse(operation); - else - SetSingleResponse(operation); - operation.AddErrorResponses(Context.Settings, false); - - base.SetResponses(operation); - } - private void SetCollectionResponse(OpenApiOperation operation) - { - operation.Responses = new OpenApiResponses + if (ComplexPropertySegment.Property.Type.IsCollection()) { - { - Context.Settings.UseSuccessStatusCodeRange ? Constants.StatusCodeClass2XX : Constants.StatusCode200, - new OpenApiResponse - { - UnresolvedReference = true, - Reference = new OpenApiReference() - { - Type = ReferenceType.Response, - Id = $"{ComplexPropertySegment.ComplexType.FullName()}{Constants.CollectionSchemaSuffix}" - }, - } - } - }; - } - private void SetSingleResponse(OpenApiOperation operation) - { - OpenApiSchema schema = null; - - if (schema == null) + SetCollectionResponse(operation, ComplexPropertySegment.ComplexType.FullName()); + } + else { - schema = new OpenApiSchema + OpenApiSchema schema = new() { UnresolvedReference = true, Reference = new OpenApiReference @@ -184,28 +158,14 @@ private void SetSingleResponse(OpenApiOperation operation) Id = ComplexPropertySegment.ComplexType.FullName() } }; + + SetSingleResponse(operation, schema); } - operation.Responses = new OpenApiResponses - { - { - Context.Settings.UseSuccessStatusCodeRange ? Constants.StatusCodeClass2XX : Constants.StatusCode200, - new OpenApiResponse - { - Description = "Result entities", - Content = new Dictionary - { - { - Constants.ApplicationJsonMediaType, - new OpenApiMediaType - { - Schema = schema - } - } - }, - } - } - }; + + operation.AddErrorResponses(Context.Settings, false); + base.SetResponses(operation); } + protected override void SetSecurity(OpenApiOperation operation) { if (_readRestrictions?.Permissions == null) diff --git a/src/Microsoft.OpenApi.OData.Reader/Operation/ODataTypeCastGetOperationHandler.cs b/src/Microsoft.OpenApi.OData.Reader/Operation/ODataTypeCastGetOperationHandler.cs index c790dbe1..604f31d3 100644 --- a/src/Microsoft.OpenApi.OData.Reader/Operation/ODataTypeCastGetOperationHandler.cs +++ b/src/Microsoft.OpenApi.OData.Reader/Operation/ODataTypeCastGetOperationHandler.cs @@ -34,10 +34,13 @@ internal class ODataTypeCastGetOperationHandler : OperationHandler private bool isKeySegment; + private bool secondLastSegmentIsComplexProperty; + private bool IsSingleElement { get => isKeySegment || - singleton != null || + secondLastSegmentIsComplexProperty || + singleton != null || (navigationProperty != null && !navigationProperty.Type.IsCollection() && entitySet == null); @@ -62,7 +65,8 @@ protected override void Initialize(ODataContext context, ODataPath path) // reseting the fields as we're reusing the handler singleton = null; isKeySegment = false; - restriction = null; + secondLastSegmentIsComplexProperty = false; + restriction = null; entitySet = null; navigationProperty = null; parentStructuredType = null; @@ -102,6 +106,10 @@ protected override void Initialize(ODataContext context, ODataPath path) SetAnnotatableRestrictionFromNavigationSourceSegment(sourceSegment1); } } + else if (SecondLastSegment is ODataComplexPropertySegment) + { + secondLastSegmentIsComplexProperty = true; + } if (path.Last() is ODataTypeCastSegment odataTypeCastSegment) { @@ -187,77 +195,39 @@ protected override void SetBasicInfo(OpenApiOperation operation) /// protected override void SetResponses(OpenApiOperation operation) - { - if (IsSingleElement) - SetSingleResponse(operation); - else - SetCollectionResponse(operation); + { + if (IsSingleElement) + { + OpenApiSchema schema = null; - operation.AddErrorResponses(Context.Settings, false); + if (Context.Settings.EnableDerivedTypesReferencesForResponses) + { + schema = EdmModelHelper.GetDerivedTypesReferenceSchema(targetStructuredType, Context.Model); + } - base.SetResponses(operation); - } + if (schema == null) + { + schema = new OpenApiSchema + { + UnresolvedReference = true, + Reference = new OpenApiReference + { + Type = ReferenceType.Schema, + Id = TargetSchemaElement.FullName() + } + }; + } - private void SetCollectionResponse(OpenApiOperation operation) - { - operation.Responses = new OpenApiResponses + SetSingleResponse(operation, schema); + } + else { - { - Context.Settings.UseSuccessStatusCodeRange ? Constants.StatusCodeClass2XX : Constants.StatusCode200, - new OpenApiResponse - { - UnresolvedReference = true, - Reference = new OpenApiReference() - { - Type = ReferenceType.Response, - Id = $"{TargetSchemaElement.FullName()}{Constants.CollectionSchemaSuffix}" - }, - } - } - }; - } - - private void SetSingleResponse(OpenApiOperation operation) - { - OpenApiSchema schema = null; + SetCollectionResponse(operation, TargetSchemaElement.FullName()); + } - if (Context.Settings.EnableDerivedTypesReferencesForResponses) - { - schema = EdmModelHelper.GetDerivedTypesReferenceSchema(targetStructuredType, Context.Model); - } + operation.AddErrorResponses(Context.Settings, false); - if (schema == null) - { - schema = new OpenApiSchema - { - UnresolvedReference = true, - Reference = new OpenApiReference - { - Type = ReferenceType.Schema, - Id = TargetSchemaElement.FullName() - } - }; - } - operation.Responses = new OpenApiResponses - { - { - Context.Settings.UseSuccessStatusCodeRange ? Constants.StatusCodeClass2XX : Constants.StatusCode200, - new OpenApiResponse - { - Description = "Result entities", - Content = new Dictionary - { - { - Constants.ApplicationJsonMediaType, - new OpenApiMediaType - { - Schema = schema - } - } - }, - } - } - }; + base.SetResponses(operation); } /// diff --git a/src/Microsoft.OpenApi.OData.Reader/Operation/OperationHandler.cs b/src/Microsoft.OpenApi.OData.Reader/Operation/OperationHandler.cs index cc864153..43cdc43c 100644 --- a/src/Microsoft.OpenApi.OData.Reader/Operation/OperationHandler.cs +++ b/src/Microsoft.OpenApi.OData.Reader/Operation/OperationHandler.cs @@ -5,8 +5,6 @@ using System.Collections.Generic; using System.Linq; -using Microsoft.OData.Edm; -using System.Text; using Microsoft.OpenApi.Any; using Microsoft.OpenApi.MicrosoftExtensions; using Microsoft.OpenApi.Models; @@ -298,5 +296,53 @@ protected virtual void SetCustomLinkRelType() } } + internal void SetCollectionResponse(OpenApiOperation operation, string targetElementFullName) + { + Utils.CheckArgumentNull(operation, nameof(operation)); + Utils.CheckArgumentNullOrEmpty(targetElementFullName, nameof(targetElementFullName)); + + operation.Responses = new OpenApiResponses + { + { + Context.Settings.UseSuccessStatusCodeRange ? Constants.StatusCodeClass2XX : Constants.StatusCode200, + new OpenApiResponse + { + UnresolvedReference = true, + Reference = new OpenApiReference() + { + Type = ReferenceType.Response, + Id = $"{targetElementFullName}{Constants.CollectionSchemaSuffix}" + } + } + } + }; + } + + internal void SetSingleResponse(OpenApiOperation operation, OpenApiSchema schema) + { + Utils.CheckArgumentNull(operation, nameof(operation)); + Utils.CheckArgumentNull(schema, nameof(schema)); + + operation.Responses = new OpenApiResponses + { + { + Context.Settings.UseSuccessStatusCodeRange ? Constants.StatusCodeClass2XX : Constants.StatusCode200, + new OpenApiResponse + { + Description = "Entity result.", + Content = new Dictionary + { + { + Constants.ApplicationJsonMediaType, + new OpenApiMediaType + { + Schema = schema + } + } + }, + } + } + }; + } } } diff --git a/test/Microsoft.OpenAPI.OData.Reader.Tests/Resources/TripService.OpenApi.V2.json b/test/Microsoft.OpenAPI.OData.Reader.Tests/Resources/TripService.OpenApi.V2.json index a87d6434..3e3f587b 100644 --- a/test/Microsoft.OpenAPI.OData.Reader.Tests/Resources/TripService.OpenApi.V2.json +++ b/test/Microsoft.OpenAPI.OData.Reader.Tests/Resources/TripService.OpenApi.V2.json @@ -519,7 +519,7 @@ ], "responses": { "200": { - "description": "Result entities", + "description": "Entity result.", "schema": { "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.AirportLocation" } @@ -917,8 +917,11 @@ "tags": [ "Airports.Person.Location" ], - "summary": "Get the items of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation in the Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location collection", + "summary": "Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location as Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation", "operationId": "Airports.EmergencyAuthority.ListAddressInfo.AsEventLocation", + "produces": [ + "application/json" + ], "parameters": [ { "in": "path", @@ -931,7 +934,10 @@ ], "responses": { "200": { - "$ref": "#/responses/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocationCollectionResponse" + "description": "Entity result.", + "schema": { + "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation" + } }, "default": { "$ref": "#/responses/error" @@ -1011,7 +1017,7 @@ ], "responses": { "200": { - "description": "Result entities", + "description": "Entity result.", "schema": { "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location" } @@ -1064,8 +1070,11 @@ "tags": [ "Airports.Person.Location" ], - "summary": "Get the items of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation in the Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location collection", + "summary": "Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location as Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation", "operationId": "Airports.EmergencyAuthority.GetHomeAddress.AsEventLocation", + "produces": [ + "application/json" + ], "parameters": [ { "in": "path", @@ -1078,7 +1087,10 @@ ], "responses": { "200": { - "$ref": "#/responses/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocationCollectionResponse" + "description": "Entity result.", + "schema": { + "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation" + } }, "default": { "$ref": "#/responses/error" @@ -1567,11 +1579,17 @@ "tags": [ "Me.Location" ], - "summary": "Get the items of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation in the Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location collection", + "summary": "Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location as Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation", "operationId": "Me.ListAddressInfo.AsEventLocation", + "produces": [ + "application/json" + ], "responses": { "200": { - "$ref": "#/responses/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocationCollectionResponse" + "description": "Entity result.", + "schema": { + "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation" + } }, "default": { "$ref": "#/responses/error" @@ -2000,11 +2018,17 @@ "tags": [ "Me.Person.Location" ], - "summary": "Get the items of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation in the Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location collection", + "summary": "Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location as Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation", "operationId": "Me.BestFriend.ListAddressInfo.AsEventLocation", + "produces": [ + "application/json" + ], "responses": { "200": { - "$ref": "#/responses/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocationCollectionResponse" + "description": "Entity result.", + "schema": { + "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation" + } }, "default": { "$ref": "#/responses/error" @@ -2082,7 +2106,7 @@ ], "responses": { "200": { - "description": "Result entities", + "description": "Entity result.", "schema": { "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location" } @@ -2141,11 +2165,17 @@ "tags": [ "Me.Person.Location" ], - "summary": "Get the items of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation in the Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location collection", + "summary": "Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location as Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation", "operationId": "Me.BestFriend.GetHomeAddress.AsEventLocation", + "produces": [ + "application/json" + ], "responses": { "200": { - "$ref": "#/responses/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocationCollectionResponse" + "description": "Entity result.", + "schema": { + "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation" + } }, "default": { "$ref": "#/responses/error" @@ -2193,7 +2223,7 @@ ], "responses": { "200": { - "description": "Result entities", + "description": "Entity result.", "schema": { "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee" } @@ -2244,7 +2274,7 @@ ], "responses": { "200": { - "description": "Result entities", + "description": "Entity result.", "schema": { "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager" } @@ -2718,8 +2748,11 @@ "tags": [ "Me.Person.Location" ], - "summary": "Get the items of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation in the Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location collection", + "summary": "Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location as Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation", "operationId": "Me.Friends.ListAddressInfo.AsEventLocation", + "produces": [ + "application/json" + ], "parameters": [ { "in": "path", @@ -2732,7 +2765,10 @@ ], "responses": { "200": { - "$ref": "#/responses/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocationCollectionResponse" + "description": "Entity result.", + "schema": { + "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation" + } }, "default": { "$ref": "#/responses/error" @@ -2826,7 +2862,7 @@ ], "responses": { "200": { - "description": "Result entities", + "description": "Entity result.", "schema": { "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location" } @@ -2893,8 +2929,11 @@ "tags": [ "Me.Person.Location" ], - "summary": "Get the items of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation in the Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location collection", + "summary": "Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location as Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation", "operationId": "Me.Friends.GetHomeAddress.AsEventLocation", + "produces": [ + "application/json" + ], "parameters": [ { "in": "path", @@ -2907,7 +2946,10 @@ ], "responses": { "200": { - "$ref": "#/responses/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocationCollectionResponse" + "description": "Entity result.", + "schema": { + "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation" + } }, "default": { "$ref": "#/responses/error" @@ -2975,7 +3017,7 @@ ], "responses": { "200": { - "description": "Result entities", + "description": "Entity result.", "schema": { "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee" } @@ -3046,7 +3088,7 @@ ], "responses": { "200": { - "description": "Result entities", + "description": "Entity result.", "schema": { "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager" } @@ -3650,7 +3692,7 @@ ], "responses": { "200": { - "description": "Result entities", + "description": "Entity result.", "schema": { "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location" } @@ -3709,11 +3751,17 @@ "tags": [ "Me.Location" ], - "summary": "Get the items of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation in the Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location collection", + "summary": "Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location as Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation", "operationId": "Me.GetHomeAddress.AsEventLocation", + "produces": [ + "application/json" + ], "responses": { "200": { - "$ref": "#/responses/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocationCollectionResponse" + "description": "Entity result.", + "schema": { + "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation" + } }, "default": { "$ref": "#/responses/error" @@ -3761,7 +3809,7 @@ ], "responses": { "200": { - "description": "Result entities", + "description": "Entity result.", "schema": { "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee" } @@ -3987,11 +4035,17 @@ "tags": [ "Me.Location" ], - "summary": "Get the items of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation in the Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location collection", + "summary": "Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location as Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation", "operationId": "Me.ListAddressInfo.AsEventLocation", + "produces": [ + "application/json" + ], "responses": { "200": { - "$ref": "#/responses/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocationCollectionResponse" + "description": "Entity result.", + "schema": { + "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation" + } }, "default": { "$ref": "#/responses/error" @@ -4444,11 +4498,17 @@ "tags": [ "Me.Person.Location" ], - "summary": "Get the items of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation in the Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location collection", + "summary": "Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location as Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation", "operationId": "Me.BestFriend.ListAddressInfo.AsEventLocation", + "produces": [ + "application/json" + ], "responses": { "200": { - "$ref": "#/responses/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocationCollectionResponse" + "description": "Entity result.", + "schema": { + "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation" + } }, "default": { "$ref": "#/responses/error" @@ -4538,7 +4598,7 @@ ], "responses": { "200": { - "description": "Result entities", + "description": "Entity result.", "schema": { "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location" } @@ -4597,11 +4657,17 @@ "tags": [ "Me.Person.Location" ], - "summary": "Get the items of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation in the Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location collection", + "summary": "Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location as Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation", "operationId": "Me.BestFriend.GetHomeAddress.AsEventLocation", + "produces": [ + "application/json" + ], "responses": { "200": { - "$ref": "#/responses/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocationCollectionResponse" + "description": "Entity result.", + "schema": { + "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation" + } }, "default": { "$ref": "#/responses/error" @@ -4649,7 +4715,7 @@ ], "responses": { "200": { - "description": "Result entities", + "description": "Entity result.", "schema": { "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager" } @@ -5135,8 +5201,11 @@ "tags": [ "Me.Person.Location" ], - "summary": "Get the items of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation in the Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location collection", + "summary": "Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location as Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation", "operationId": "Me.Friends.ListAddressInfo.AsEventLocation", + "produces": [ + "application/json" + ], "parameters": [ { "in": "path", @@ -5149,7 +5218,10 @@ ], "responses": { "200": { - "$ref": "#/responses/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocationCollectionResponse" + "description": "Entity result.", + "schema": { + "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation" + } }, "default": { "$ref": "#/responses/error" @@ -5255,7 +5327,7 @@ ], "responses": { "200": { - "description": "Result entities", + "description": "Entity result.", "schema": { "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location" } @@ -5322,8 +5394,11 @@ "tags": [ "Me.Person.Location" ], - "summary": "Get the items of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation in the Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location collection", + "summary": "Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location as Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation", "operationId": "Me.Friends.GetHomeAddress.AsEventLocation", + "produces": [ + "application/json" + ], "parameters": [ { "in": "path", @@ -5336,7 +5411,10 @@ ], "responses": { "200": { - "$ref": "#/responses/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocationCollectionResponse" + "description": "Entity result.", + "schema": { + "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation" + } }, "default": { "$ref": "#/responses/error" @@ -5404,7 +5482,7 @@ ], "responses": { "200": { - "description": "Result entities", + "description": "Entity result.", "schema": { "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager" } @@ -5882,7 +5960,7 @@ ], "responses": { "200": { - "description": "Result entities", + "description": "Entity result.", "schema": { "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location" } @@ -5941,11 +6019,17 @@ "tags": [ "Me.Location" ], - "summary": "Get the items of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation in the Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location collection", + "summary": "Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location as Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation", "operationId": "Me.GetHomeAddress.AsEventLocation", + "produces": [ + "application/json" + ], "responses": { "200": { - "$ref": "#/responses/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocationCollectionResponse" + "description": "Entity result.", + "schema": { + "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation" + } }, "default": { "$ref": "#/responses/error" @@ -6312,8 +6396,11 @@ "tags": [ "Me.Person.Location" ], - "summary": "Get the items of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation in the Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location collection", + "summary": "Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location as Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation", "operationId": "Me.Peers.ListAddressInfo.AsEventLocation", + "produces": [ + "application/json" + ], "parameters": [ { "in": "path", @@ -6326,7 +6413,10 @@ ], "responses": { "200": { - "$ref": "#/responses/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocationCollectionResponse" + "description": "Entity result.", + "schema": { + "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation" + } }, "default": { "$ref": "#/responses/error" @@ -6432,7 +6522,7 @@ ], "responses": { "200": { - "description": "Result entities", + "description": "Entity result.", "schema": { "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location" } @@ -6499,8 +6589,11 @@ "tags": [ "Me.Person.Location" ], - "summary": "Get the items of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation in the Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location collection", + "summary": "Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location as Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation", "operationId": "Me.Peers.GetHomeAddress.AsEventLocation", + "produces": [ + "application/json" + ], "parameters": [ { "in": "path", @@ -6513,7 +6606,10 @@ ], "responses": { "200": { - "$ref": "#/responses/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocationCollectionResponse" + "description": "Entity result.", + "schema": { + "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation" + } }, "default": { "$ref": "#/responses/error" @@ -7763,7 +7859,7 @@ ], "responses": { "200": { - "description": "Result entities", + "description": "Entity result.", "schema": { "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager" } @@ -7989,11 +8085,17 @@ "tags": [ "Me.Location" ], - "summary": "Get the items of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation in the Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location collection", + "summary": "Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location as Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation", "operationId": "Me.ListAddressInfo.AsEventLocation", + "produces": [ + "application/json" + ], "responses": { "200": { - "$ref": "#/responses/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocationCollectionResponse" + "description": "Entity result.", + "schema": { + "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation" + } }, "default": { "$ref": "#/responses/error" @@ -8446,11 +8548,17 @@ "tags": [ "Me.Person.Location" ], - "summary": "Get the items of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation in the Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location collection", + "summary": "Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location as Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation", "operationId": "Me.BestFriend.ListAddressInfo.AsEventLocation", + "produces": [ + "application/json" + ], "responses": { "200": { - "$ref": "#/responses/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocationCollectionResponse" + "description": "Entity result.", + "schema": { + "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation" + } }, "default": { "$ref": "#/responses/error" @@ -8540,7 +8648,7 @@ ], "responses": { "200": { - "description": "Result entities", + "description": "Entity result.", "schema": { "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location" } @@ -8599,11 +8707,17 @@ "tags": [ "Me.Person.Location" ], - "summary": "Get the items of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation in the Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location collection", + "summary": "Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location as Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation", "operationId": "Me.BestFriend.GetHomeAddress.AsEventLocation", + "produces": [ + "application/json" + ], "responses": { "200": { - "$ref": "#/responses/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocationCollectionResponse" + "description": "Entity result.", + "schema": { + "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation" + } }, "default": { "$ref": "#/responses/error" @@ -8651,7 +8765,7 @@ ], "responses": { "200": { - "description": "Result entities", + "description": "Entity result.", "schema": { "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee" } @@ -9120,8 +9234,11 @@ "tags": [ "Me.Person.Location" ], - "summary": "Get the items of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation in the Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location collection", + "summary": "Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location as Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation", "operationId": "Me.DirectReports.ListAddressInfo.AsEventLocation", + "produces": [ + "application/json" + ], "parameters": [ { "in": "path", @@ -9134,7 +9251,10 @@ ], "responses": { "200": { - "$ref": "#/responses/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocationCollectionResponse" + "description": "Entity result.", + "schema": { + "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation" + } }, "default": { "$ref": "#/responses/error" @@ -9240,7 +9360,7 @@ ], "responses": { "200": { - "description": "Result entities", + "description": "Entity result.", "schema": { "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location" } @@ -9307,8 +9427,11 @@ "tags": [ "Me.Person.Location" ], - "summary": "Get the items of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation in the Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location collection", + "summary": "Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location as Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation", "operationId": "Me.DirectReports.GetHomeAddress.AsEventLocation", + "produces": [ + "application/json" + ], "parameters": [ { "in": "path", @@ -9321,7 +9444,10 @@ ], "responses": { "200": { - "$ref": "#/responses/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocationCollectionResponse" + "description": "Entity result.", + "schema": { + "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation" + } }, "default": { "$ref": "#/responses/error" @@ -9969,8 +10095,11 @@ "tags": [ "Me.Person.Location" ], - "summary": "Get the items of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation in the Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location collection", + "summary": "Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location as Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation", "operationId": "Me.Friends.ListAddressInfo.AsEventLocation", + "produces": [ + "application/json" + ], "parameters": [ { "in": "path", @@ -9983,7 +10112,10 @@ ], "responses": { "200": { - "$ref": "#/responses/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocationCollectionResponse" + "description": "Entity result.", + "schema": { + "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation" + } }, "default": { "$ref": "#/responses/error" @@ -10077,7 +10209,7 @@ ], "responses": { "200": { - "description": "Result entities", + "description": "Entity result.", "schema": { "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location" } @@ -10144,8 +10276,11 @@ "tags": [ "Me.Person.Location" ], - "summary": "Get the items of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation in the Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location collection", + "summary": "Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location as Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation", "operationId": "Me.Friends.GetHomeAddress.AsEventLocation", + "produces": [ + "application/json" + ], "parameters": [ { "in": "path", @@ -10158,7 +10293,10 @@ ], "responses": { "200": { - "$ref": "#/responses/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocationCollectionResponse" + "description": "Entity result.", + "schema": { + "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation" + } }, "default": { "$ref": "#/responses/error" @@ -10226,7 +10364,7 @@ ], "responses": { "200": { - "description": "Result entities", + "description": "Entity result.", "schema": { "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee" } @@ -10704,7 +10842,7 @@ ], "responses": { "200": { - "description": "Result entities", + "description": "Entity result.", "schema": { "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location" } @@ -10763,11 +10901,17 @@ "tags": [ "Me.Location" ], - "summary": "Get the items of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation in the Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location collection", + "summary": "Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location as Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation", "operationId": "Me.GetHomeAddress.AsEventLocation", + "produces": [ + "application/json" + ], "responses": { "200": { - "$ref": "#/responses/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocationCollectionResponse" + "description": "Entity result.", + "schema": { + "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation" + } }, "default": { "$ref": "#/responses/error" @@ -13011,8 +13155,11 @@ "tags": [ "NewComePeople.Location" ], - "summary": "Get the items of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation in the Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location collection", + "summary": "Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location as Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation", "operationId": "NewComePeople.ListAddressInfo.AsEventLocation", + "produces": [ + "application/json" + ], "parameters": [ { "in": "path", @@ -13025,7 +13172,10 @@ ], "responses": { "200": { - "$ref": "#/responses/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocationCollectionResponse" + "description": "Entity result.", + "schema": { + "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation" + } }, "default": { "$ref": "#/responses/error" @@ -13542,8 +13692,11 @@ "tags": [ "NewComePeople.Person.Location" ], - "summary": "Get the items of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation in the Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location collection", + "summary": "Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location as Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation", "operationId": "NewComePeople.BestFriend.ListAddressInfo.AsEventLocation", + "produces": [ + "application/json" + ], "parameters": [ { "in": "path", @@ -13556,7 +13709,10 @@ ], "responses": { "200": { - "$ref": "#/responses/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocationCollectionResponse" + "description": "Entity result.", + "schema": { + "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation" + } }, "default": { "$ref": "#/responses/error" @@ -13662,7 +13818,7 @@ ], "responses": { "200": { - "description": "Result entities", + "description": "Entity result.", "schema": { "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location" } @@ -13729,8 +13885,11 @@ "tags": [ "NewComePeople.Person.Location" ], - "summary": "Get the items of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation in the Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location collection", + "summary": "Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location as Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation", "operationId": "NewComePeople.BestFriend.GetHomeAddress.AsEventLocation", + "produces": [ + "application/json" + ], "parameters": [ { "in": "path", @@ -13743,7 +13902,10 @@ ], "responses": { "200": { - "$ref": "#/responses/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocationCollectionResponse" + "description": "Entity result.", + "schema": { + "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation" + } }, "default": { "$ref": "#/responses/error" @@ -13799,7 +13961,7 @@ ], "responses": { "200": { - "description": "Result entities", + "description": "Entity result.", "schema": { "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee" } @@ -13858,7 +14020,7 @@ ], "responses": { "200": { - "description": "Result entities", + "description": "Entity result.", "schema": { "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager" } @@ -14372,8 +14534,11 @@ "tags": [ "NewComePeople.Person.Location" ], - "summary": "Get the items of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation in the Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location collection", + "summary": "Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location as Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation", "operationId": "NewComePeople.Friends.ListAddressInfo.AsEventLocation", + "produces": [ + "application/json" + ], "parameters": [ { "in": "path", @@ -14394,7 +14559,10 @@ ], "responses": { "200": { - "$ref": "#/responses/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocationCollectionResponse" + "description": "Entity result.", + "schema": { + "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation" + } }, "default": { "$ref": "#/responses/error" @@ -14502,7 +14670,7 @@ ], "responses": { "200": { - "description": "Result entities", + "description": "Entity result.", "schema": { "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location" } @@ -14563,8 +14731,11 @@ "tags": [ "NewComePeople.Person.Location" ], - "summary": "Get the items of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation in the Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location collection", + "summary": "Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location as Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation", "operationId": "NewComePeople.Friends.GetHomeAddress.AsEventLocation", + "produces": [ + "application/json" + ], "parameters": [ { "in": "path", @@ -14585,7 +14756,10 @@ ], "responses": { "200": { - "$ref": "#/responses/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocationCollectionResponse" + "description": "Entity result.", + "schema": { + "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation" + } }, "default": { "$ref": "#/responses/error" @@ -14654,7 +14828,7 @@ ], "responses": { "200": { - "description": "Result entities", + "description": "Entity result.", "schema": { "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee" } @@ -14726,7 +14900,7 @@ ], "responses": { "200": { - "description": "Result entities", + "description": "Entity result.", "schema": { "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager" } @@ -15342,7 +15516,7 @@ ], "responses": { "200": { - "description": "Result entities", + "description": "Entity result.", "schema": { "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location" } @@ -15395,8 +15569,11 @@ "tags": [ "NewComePeople.Location" ], - "summary": "Get the items of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation in the Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location collection", + "summary": "Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location as Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation", "operationId": "NewComePeople.GetHomeAddress.AsEventLocation", + "produces": [ + "application/json" + ], "parameters": [ { "in": "path", @@ -15409,7 +15586,10 @@ ], "responses": { "200": { - "$ref": "#/responses/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocationCollectionResponse" + "description": "Entity result.", + "schema": { + "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation" + } }, "default": { "$ref": "#/responses/error" @@ -17106,8 +17286,11 @@ "tags": [ "People.Location" ], - "summary": "Get the items of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation in the Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location collection", + "summary": "Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location as Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation", "operationId": "People.ListAddressInfo.AsEventLocation", + "produces": [ + "application/json" + ], "parameters": [ { "in": "path", @@ -17120,7 +17303,10 @@ ], "responses": { "200": { - "$ref": "#/responses/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocationCollectionResponse" + "description": "Entity result.", + "schema": { + "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation" + } }, "default": { "$ref": "#/responses/error" @@ -17631,8 +17817,11 @@ "tags": [ "People.Person.Location" ], - "summary": "Get the items of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation in the Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location collection", + "summary": "Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location as Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation", "operationId": "People.BestFriend.ListAddressInfo.AsEventLocation", + "produces": [ + "application/json" + ], "parameters": [ { "in": "path", @@ -17645,7 +17834,10 @@ ], "responses": { "200": { - "$ref": "#/responses/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocationCollectionResponse" + "description": "Entity result.", + "schema": { + "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation" + } }, "default": { "$ref": "#/responses/error" @@ -17739,7 +17931,7 @@ ], "responses": { "200": { - "description": "Result entities", + "description": "Entity result.", "schema": { "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location" } @@ -17806,8 +17998,11 @@ "tags": [ "People.Person.Location" ], - "summary": "Get the items of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation in the Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location collection", + "summary": "Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location as Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation", "operationId": "People.BestFriend.GetHomeAddress.AsEventLocation", + "produces": [ + "application/json" + ], "parameters": [ { "in": "path", @@ -17820,7 +18015,10 @@ ], "responses": { "200": { - "$ref": "#/responses/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocationCollectionResponse" + "description": "Entity result.", + "schema": { + "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation" + } }, "default": { "$ref": "#/responses/error" @@ -17876,7 +18074,7 @@ ], "responses": { "200": { - "description": "Result entities", + "description": "Entity result.", "schema": { "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee" } @@ -17940,7 +18138,7 @@ ], "responses": { "200": { - "description": "Result entities", + "description": "Entity result.", "schema": { "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager" } @@ -18497,8 +18695,11 @@ "tags": [ "People.Person.Location" ], - "summary": "Get the items of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation in the Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location collection", + "summary": "Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location as Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation", "operationId": "People.Friends.ListAddressInfo.AsEventLocation", + "produces": [ + "application/json" + ], "parameters": [ { "in": "path", @@ -18519,7 +18720,10 @@ ], "responses": { "200": { - "$ref": "#/responses/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocationCollectionResponse" + "description": "Entity result.", + "schema": { + "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation" + } }, "default": { "$ref": "#/responses/error" @@ -18629,7 +18833,7 @@ ], "responses": { "200": { - "description": "Result entities", + "description": "Entity result.", "schema": { "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location" } @@ -18704,8 +18908,11 @@ "tags": [ "People.Person.Location" ], - "summary": "Get the items of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation in the Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location collection", + "summary": "Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location as Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation", "operationId": "People.Friends.GetHomeAddress.AsEventLocation", + "produces": [ + "application/json" + ], "parameters": [ { "in": "path", @@ -18726,7 +18933,10 @@ ], "responses": { "200": { - "$ref": "#/responses/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocationCollectionResponse" + "description": "Entity result.", + "schema": { + "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation" + } }, "default": { "$ref": "#/responses/error" @@ -18802,7 +19012,7 @@ ], "responses": { "200": { - "description": "Result entities", + "description": "Entity result.", "schema": { "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee" } @@ -18881,7 +19091,7 @@ ], "responses": { "200": { - "description": "Result entities", + "description": "Entity result.", "schema": { "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager" } @@ -19596,7 +19806,7 @@ ], "responses": { "200": { - "description": "Result entities", + "description": "Entity result.", "schema": { "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location" } @@ -19663,8 +19873,11 @@ "tags": [ "People.Location" ], - "summary": "Get the items of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation in the Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location collection", + "summary": "Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location as Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation", "operationId": "People.GetHomeAddress.AsEventLocation", + "produces": [ + "application/json" + ], "parameters": [ { "in": "path", @@ -19677,7 +19890,10 @@ ], "responses": { "200": { - "$ref": "#/responses/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocationCollectionResponse" + "description": "Entity result.", + "schema": { + "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation" + } }, "default": { "$ref": "#/responses/error" @@ -19745,7 +19961,7 @@ ], "responses": { "200": { - "description": "Result entities", + "description": "Entity result.", "schema": { "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee" } @@ -20003,8 +20219,11 @@ "tags": [ "People.Location" ], - "summary": "Get the items of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation in the Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location collection", + "summary": "Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location as Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation", "operationId": "People.ListAddressInfo.AsEventLocation", + "produces": [ + "application/json" + ], "parameters": [ { "in": "path", @@ -20017,7 +20236,10 @@ ], "responses": { "200": { - "$ref": "#/responses/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocationCollectionResponse" + "description": "Entity result.", + "schema": { + "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation" + } }, "default": { "$ref": "#/responses/error" @@ -20552,8 +20774,11 @@ "tags": [ "People.Person.Location" ], - "summary": "Get the items of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation in the Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location collection", + "summary": "Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location as Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation", "operationId": "People.BestFriend.ListAddressInfo.AsEventLocation", + "produces": [ + "application/json" + ], "parameters": [ { "in": "path", @@ -20566,7 +20791,10 @@ ], "responses": { "200": { - "$ref": "#/responses/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocationCollectionResponse" + "description": "Entity result.", + "schema": { + "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation" + } }, "default": { "$ref": "#/responses/error" @@ -20672,7 +20900,7 @@ ], "responses": { "200": { - "description": "Result entities", + "description": "Entity result.", "schema": { "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location" } @@ -20739,8 +20967,11 @@ "tags": [ "People.Person.Location" ], - "summary": "Get the items of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation in the Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location collection", + "summary": "Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location as Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation", "operationId": "People.BestFriend.GetHomeAddress.AsEventLocation", + "produces": [ + "application/json" + ], "parameters": [ { "in": "path", @@ -20753,7 +20984,10 @@ ], "responses": { "200": { - "$ref": "#/responses/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocationCollectionResponse" + "description": "Entity result.", + "schema": { + "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation" + } }, "default": { "$ref": "#/responses/error" @@ -20809,7 +21043,7 @@ ], "responses": { "200": { - "description": "Result entities", + "description": "Entity result.", "schema": { "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager" } @@ -21369,8 +21603,11 @@ "tags": [ "People.Person.Location" ], - "summary": "Get the items of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation in the Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location collection", + "summary": "Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location as Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation", "operationId": "People.Friends.ListAddressInfo.AsEventLocation", + "produces": [ + "application/json" + ], "parameters": [ { "in": "path", @@ -21391,7 +21628,10 @@ ], "responses": { "200": { - "$ref": "#/responses/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocationCollectionResponse" + "description": "Entity result.", + "schema": { + "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation" + } }, "default": { "$ref": "#/responses/error" @@ -21513,7 +21753,7 @@ ], "responses": { "200": { - "description": "Result entities", + "description": "Entity result.", "schema": { "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location" } @@ -21588,8 +21828,11 @@ "tags": [ "People.Person.Location" ], - "summary": "Get the items of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation in the Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location collection", + "summary": "Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location as Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation", "operationId": "People.Friends.GetHomeAddress.AsEventLocation", + "produces": [ + "application/json" + ], "parameters": [ { "in": "path", @@ -21610,7 +21853,10 @@ ], "responses": { "200": { - "$ref": "#/responses/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocationCollectionResponse" + "description": "Entity result.", + "schema": { + "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation" + } }, "default": { "$ref": "#/responses/error" @@ -21686,7 +21932,7 @@ ], "responses": { "200": { - "description": "Result entities", + "description": "Entity result.", "schema": { "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager" } @@ -22244,7 +22490,7 @@ ], "responses": { "200": { - "description": "Result entities", + "description": "Entity result.", "schema": { "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location" } @@ -22311,8 +22557,11 @@ "tags": [ "People.Location" ], - "summary": "Get the items of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation in the Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location collection", + "summary": "Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location as Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation", "operationId": "People.GetHomeAddress.AsEventLocation", + "produces": [ + "application/json" + ], "parameters": [ { "in": "path", @@ -22325,7 +22574,10 @@ ], "responses": { "200": { - "$ref": "#/responses/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocationCollectionResponse" + "description": "Entity result.", + "schema": { + "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation" + } }, "default": { "$ref": "#/responses/error" @@ -22740,8 +22992,11 @@ "tags": [ "People.Person.Location" ], - "summary": "Get the items of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation in the Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location collection", + "summary": "Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location as Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation", "operationId": "People.Peers.ListAddressInfo.AsEventLocation", + "produces": [ + "application/json" + ], "parameters": [ { "in": "path", @@ -22762,7 +23017,10 @@ ], "responses": { "200": { - "$ref": "#/responses/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocationCollectionResponse" + "description": "Entity result.", + "schema": { + "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation" + } }, "default": { "$ref": "#/responses/error" @@ -22884,7 +23142,7 @@ ], "responses": { "200": { - "description": "Result entities", + "description": "Entity result.", "schema": { "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location" } @@ -22959,8 +23217,11 @@ "tags": [ "People.Person.Location" ], - "summary": "Get the items of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation in the Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location collection", + "summary": "Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location as Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation", "operationId": "People.Peers.GetHomeAddress.AsEventLocation", + "produces": [ + "application/json" + ], "parameters": [ { "in": "path", @@ -22981,7 +23242,10 @@ ], "responses": { "200": { - "$ref": "#/responses/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocationCollectionResponse" + "description": "Entity result.", + "schema": { + "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation" + } }, "default": { "$ref": "#/responses/error" @@ -24437,7 +24701,7 @@ ], "responses": { "200": { - "description": "Result entities", + "description": "Entity result.", "schema": { "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager" } @@ -24695,8 +24959,11 @@ "tags": [ "People.Location" ], - "summary": "Get the items of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation in the Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location collection", + "summary": "Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location as Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation", "operationId": "People.ListAddressInfo.AsEventLocation", + "produces": [ + "application/json" + ], "parameters": [ { "in": "path", @@ -24709,7 +24976,10 @@ ], "responses": { "200": { - "$ref": "#/responses/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocationCollectionResponse" + "description": "Entity result.", + "schema": { + "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation" + } }, "default": { "$ref": "#/responses/error" @@ -25244,8 +25514,11 @@ "tags": [ "People.Person.Location" ], - "summary": "Get the items of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation in the Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location collection", + "summary": "Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location as Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation", "operationId": "People.BestFriend.ListAddressInfo.AsEventLocation", + "produces": [ + "application/json" + ], "parameters": [ { "in": "path", @@ -25258,7 +25531,10 @@ ], "responses": { "200": { - "$ref": "#/responses/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocationCollectionResponse" + "description": "Entity result.", + "schema": { + "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation" + } }, "default": { "$ref": "#/responses/error" @@ -25364,7 +25640,7 @@ ], "responses": { "200": { - "description": "Result entities", + "description": "Entity result.", "schema": { "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location" } @@ -25431,8 +25707,11 @@ "tags": [ "People.Person.Location" ], - "summary": "Get the items of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation in the Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location collection", + "summary": "Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location as Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation", "operationId": "People.BestFriend.GetHomeAddress.AsEventLocation", + "produces": [ + "application/json" + ], "parameters": [ { "in": "path", @@ -25445,7 +25724,10 @@ ], "responses": { "200": { - "$ref": "#/responses/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocationCollectionResponse" + "description": "Entity result.", + "schema": { + "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation" + } }, "default": { "$ref": "#/responses/error" @@ -25501,7 +25783,7 @@ ], "responses": { "200": { - "description": "Result entities", + "description": "Entity result.", "schema": { "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee" } @@ -26044,8 +26326,11 @@ "tags": [ "People.Person.Location" ], - "summary": "Get the items of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation in the Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location collection", + "summary": "Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location as Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation", "operationId": "People.DirectReports.ListAddressInfo.AsEventLocation", + "produces": [ + "application/json" + ], "parameters": [ { "in": "path", @@ -26066,7 +26351,10 @@ ], "responses": { "200": { - "$ref": "#/responses/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocationCollectionResponse" + "description": "Entity result.", + "schema": { + "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation" + } }, "default": { "$ref": "#/responses/error" @@ -26188,7 +26476,7 @@ ], "responses": { "200": { - "description": "Result entities", + "description": "Entity result.", "schema": { "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location" } @@ -26263,8 +26551,11 @@ "tags": [ "People.Person.Location" ], - "summary": "Get the items of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation in the Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location collection", + "summary": "Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location as Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation", "operationId": "People.DirectReports.GetHomeAddress.AsEventLocation", + "produces": [ + "application/json" + ], "parameters": [ { "in": "path", @@ -26285,7 +26576,10 @@ ], "responses": { "200": { - "$ref": "#/responses/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocationCollectionResponse" + "description": "Entity result.", + "schema": { + "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation" + } }, "default": { "$ref": "#/responses/error" @@ -27037,8 +27331,11 @@ "tags": [ "People.Person.Location" ], - "summary": "Get the items of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation in the Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location collection", + "summary": "Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location as Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation", "operationId": "People.Friends.ListAddressInfo.AsEventLocation", + "produces": [ + "application/json" + ], "parameters": [ { "in": "path", @@ -27059,7 +27356,10 @@ ], "responses": { "200": { - "$ref": "#/responses/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocationCollectionResponse" + "description": "Entity result.", + "schema": { + "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation" + } }, "default": { "$ref": "#/responses/error" @@ -27169,7 +27469,7 @@ ], "responses": { "200": { - "description": "Result entities", + "description": "Entity result.", "schema": { "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location" } @@ -27244,8 +27544,11 @@ "tags": [ "People.Person.Location" ], - "summary": "Get the items of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation in the Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location collection", + "summary": "Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location as Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation", "operationId": "People.Friends.GetHomeAddress.AsEventLocation", + "produces": [ + "application/json" + ], "parameters": [ { "in": "path", @@ -27266,7 +27569,10 @@ ], "responses": { "200": { - "$ref": "#/responses/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocationCollectionResponse" + "description": "Entity result.", + "schema": { + "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation" + } }, "default": { "$ref": "#/responses/error" @@ -27342,7 +27648,7 @@ ], "responses": { "200": { - "description": "Result entities", + "description": "Entity result.", "schema": { "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee" } @@ -27900,7 +28206,7 @@ ], "responses": { "200": { - "description": "Result entities", + "description": "Entity result.", "schema": { "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location" } @@ -27967,8 +28273,11 @@ "tags": [ "People.Location" ], - "summary": "Get the items of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation in the Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location collection", + "summary": "Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location as Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation", "operationId": "People.GetHomeAddress.AsEventLocation", + "produces": [ + "application/json" + ], "parameters": [ { "in": "path", @@ -27981,7 +28290,10 @@ ], "responses": { "200": { - "$ref": "#/responses/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocationCollectionResponse" + "description": "Entity result.", + "schema": { + "$ref": "#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation" + } }, "default": { "$ref": "#/responses/error" diff --git a/test/Microsoft.OpenAPI.OData.Reader.Tests/Resources/TripService.OpenApi.V2.yaml b/test/Microsoft.OpenAPI.OData.Reader.Tests/Resources/TripService.OpenApi.V2.yaml index 2e2d1af8..89ee6536 100644 --- a/test/Microsoft.OpenAPI.OData.Reader.Tests/Resources/TripService.OpenApi.V2.yaml +++ b/test/Microsoft.OpenAPI.OData.Reader.Tests/Resources/TripService.OpenApi.V2.yaml @@ -340,7 +340,7 @@ paths: type: string responses: '200': - description: Result entities + description: Entity result. schema: $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.AirportLocation' default: @@ -600,8 +600,10 @@ paths: get: tags: - Airports.Person.Location - summary: Get the items of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation in the Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location collection + summary: Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location as Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation operationId: Airports.EmergencyAuthority.ListAddressInfo.AsEventLocation + produces: + - application/json parameters: - in: path name: IcaoCode @@ -611,7 +613,9 @@ paths: x-ms-docs-key-type: Airport responses: '200': - $ref: '#/responses/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocationCollectionResponse' + description: Entity result. + schema: + $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation' default: $ref: '#/responses/error' x-description: Casts the previous resource to EventLocation. @@ -663,7 +667,7 @@ paths: type: string responses: '200': - description: Result entities + description: Entity result. schema: $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location' default: @@ -697,8 +701,10 @@ paths: get: tags: - Airports.Person.Location - summary: Get the items of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation in the Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location collection + summary: Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location as Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation operationId: Airports.EmergencyAuthority.GetHomeAddress.AsEventLocation + produces: + - application/json parameters: - in: path name: IcaoCode @@ -708,7 +714,9 @@ paths: x-ms-docs-key-type: Airport responses: '200': - $ref: '#/responses/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocationCollectionResponse' + description: Entity result. + schema: + $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation' default: $ref: '#/responses/error' x-description: Casts the previous resource to EventLocation. @@ -1032,11 +1040,15 @@ paths: get: tags: - Me.Location - summary: Get the items of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation in the Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location collection + summary: Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location as Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation operationId: Me.ListAddressInfo.AsEventLocation + produces: + - application/json responses: '200': - $ref: '#/responses/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocationCollectionResponse' + description: Entity result. + schema: + $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation' default: $ref: '#/responses/error' deprecated: true @@ -1325,11 +1337,15 @@ paths: get: tags: - Me.Person.Location - summary: Get the items of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation in the Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location collection + summary: Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location as Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation operationId: Me.BestFriend.ListAddressInfo.AsEventLocation + produces: + - application/json responses: '200': - $ref: '#/responses/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocationCollectionResponse' + description: Entity result. + schema: + $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation' default: $ref: '#/responses/error' deprecated: true @@ -1381,7 +1397,7 @@ paths: type: string responses: '200': - description: Result entities + description: Entity result. schema: $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location' default: @@ -1421,11 +1437,15 @@ paths: get: tags: - Me.Person.Location - summary: Get the items of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation in the Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location collection + summary: Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location as Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation operationId: Me.BestFriend.GetHomeAddress.AsEventLocation + produces: + - application/json responses: '200': - $ref: '#/responses/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocationCollectionResponse' + description: Entity result. + schema: + $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation' default: $ref: '#/responses/error' deprecated: true @@ -1458,7 +1478,7 @@ paths: type: string responses: '200': - description: Result entities + description: Entity result. schema: $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee' default: @@ -1493,7 +1513,7 @@ paths: type: string responses: '200': - description: Result entities + description: Entity result. schema: $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager' default: @@ -1811,8 +1831,10 @@ paths: get: tags: - Me.Person.Location - summary: Get the items of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation in the Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location collection + summary: Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location as Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation operationId: Me.Friends.ListAddressInfo.AsEventLocation + produces: + - application/json parameters: - in: path name: UserName @@ -1822,7 +1844,9 @@ paths: x-ms-docs-key-type: Person responses: '200': - $ref: '#/responses/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocationCollectionResponse' + description: Entity result. + schema: + $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation' default: $ref: '#/responses/error' deprecated: true @@ -1886,7 +1910,7 @@ paths: type: string responses: '200': - description: Result entities + description: Entity result. schema: $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location' default: @@ -1932,8 +1956,10 @@ paths: get: tags: - Me.Person.Location - summary: Get the items of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation in the Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location collection + summary: Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location as Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation operationId: Me.Friends.GetHomeAddress.AsEventLocation + produces: + - application/json parameters: - in: path name: UserName @@ -1943,7 +1969,9 @@ paths: x-ms-docs-key-type: Person responses: '200': - $ref: '#/responses/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocationCollectionResponse' + description: Entity result. + schema: + $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation' default: $ref: '#/responses/error' deprecated: true @@ -1990,7 +2018,7 @@ paths: type: string responses: '200': - description: Result entities + description: Entity result. schema: $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee' default: @@ -2039,7 +2067,7 @@ paths: type: string responses: '200': - description: Result entities + description: Entity result. schema: $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager' default: @@ -2436,7 +2464,7 @@ paths: type: string responses: '200': - description: Result entities + description: Entity result. schema: $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location' default: @@ -2476,11 +2504,15 @@ paths: get: tags: - Me.Location - summary: Get the items of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation in the Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location collection + summary: Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location as Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation operationId: Me.GetHomeAddress.AsEventLocation + produces: + - application/json responses: '200': - $ref: '#/responses/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocationCollectionResponse' + description: Entity result. + schema: + $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation' default: $ref: '#/responses/error' deprecated: true @@ -2513,7 +2545,7 @@ paths: type: string responses: '200': - description: Result entities + description: Entity result. schema: $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee' default: @@ -2660,11 +2692,15 @@ paths: get: tags: - Me.Location - summary: Get the items of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation in the Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location collection + summary: Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location as Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation operationId: Me.ListAddressInfo.AsEventLocation + produces: + - application/json responses: '200': - $ref: '#/responses/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocationCollectionResponse' + description: Entity result. + schema: + $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation' default: $ref: '#/responses/error' deprecated: true @@ -2969,11 +3005,15 @@ paths: get: tags: - Me.Person.Location - summary: Get the items of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation in the Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location collection + summary: Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location as Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation operationId: Me.BestFriend.ListAddressInfo.AsEventLocation + produces: + - application/json responses: '200': - $ref: '#/responses/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocationCollectionResponse' + description: Entity result. + schema: + $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation' default: $ref: '#/responses/error' deprecated: true @@ -3033,7 +3073,7 @@ paths: type: string responses: '200': - description: Result entities + description: Entity result. schema: $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location' default: @@ -3073,11 +3113,15 @@ paths: get: tags: - Me.Person.Location - summary: Get the items of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation in the Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location collection + summary: Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location as Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation operationId: Me.BestFriend.GetHomeAddress.AsEventLocation + produces: + - application/json responses: '200': - $ref: '#/responses/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocationCollectionResponse' + description: Entity result. + schema: + $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation' default: $ref: '#/responses/error' deprecated: true @@ -3110,7 +3154,7 @@ paths: type: string responses: '200': - description: Result entities + description: Entity result. schema: $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager' default: @@ -3436,8 +3480,10 @@ paths: get: tags: - Me.Person.Location - summary: Get the items of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation in the Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location collection + summary: Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location as Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation operationId: Me.Friends.ListAddressInfo.AsEventLocation + produces: + - application/json parameters: - in: path name: UserName @@ -3447,7 +3493,9 @@ paths: x-ms-docs-key-type: Person responses: '200': - $ref: '#/responses/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocationCollectionResponse' + description: Entity result. + schema: + $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation' default: $ref: '#/responses/error' deprecated: true @@ -3519,7 +3567,7 @@ paths: type: string responses: '200': - description: Result entities + description: Entity result. schema: $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location' default: @@ -3565,8 +3613,10 @@ paths: get: tags: - Me.Person.Location - summary: Get the items of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation in the Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location collection + summary: Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location as Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation operationId: Me.Friends.GetHomeAddress.AsEventLocation + produces: + - application/json parameters: - in: path name: UserName @@ -3576,7 +3626,9 @@ paths: x-ms-docs-key-type: Person responses: '200': - $ref: '#/responses/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocationCollectionResponse' + description: Entity result. + schema: + $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation' default: $ref: '#/responses/error' deprecated: true @@ -3623,7 +3675,7 @@ paths: type: string responses: '200': - description: Result entities + description: Entity result. schema: $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager' default: @@ -3941,7 +3993,7 @@ paths: type: string responses: '200': - description: Result entities + description: Entity result. schema: $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location' default: @@ -3981,11 +4033,15 @@ paths: get: tags: - Me.Location - summary: Get the items of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation in the Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location collection + summary: Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location as Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation operationId: Me.GetHomeAddress.AsEventLocation + produces: + - application/json responses: '200': - $ref: '#/responses/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocationCollectionResponse' + description: Entity result. + schema: + $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation' default: $ref: '#/responses/error' deprecated: true @@ -4227,8 +4283,10 @@ paths: get: tags: - Me.Person.Location - summary: Get the items of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation in the Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location collection + summary: Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location as Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation operationId: Me.Peers.ListAddressInfo.AsEventLocation + produces: + - application/json parameters: - in: path name: UserName @@ -4238,7 +4296,9 @@ paths: x-ms-docs-key-type: Person responses: '200': - $ref: '#/responses/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocationCollectionResponse' + description: Entity result. + schema: + $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation' default: $ref: '#/responses/error' deprecated: true @@ -4310,7 +4370,7 @@ paths: type: string responses: '200': - description: Result entities + description: Entity result. schema: $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location' default: @@ -4356,8 +4416,10 @@ paths: get: tags: - Me.Person.Location - summary: Get the items of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation in the Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location collection + summary: Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location as Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation operationId: Me.Peers.GetHomeAddress.AsEventLocation + produces: + - application/json parameters: - in: path name: UserName @@ -4367,7 +4429,9 @@ paths: x-ms-docs-key-type: Person responses: '200': - $ref: '#/responses/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocationCollectionResponse' + description: Entity result. + schema: + $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation' default: $ref: '#/responses/error' deprecated: true @@ -5218,7 +5282,7 @@ paths: type: string responses: '200': - description: Result entities + description: Entity result. schema: $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager' default: @@ -5365,11 +5429,15 @@ paths: get: tags: - Me.Location - summary: Get the items of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation in the Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location collection + summary: Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location as Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation operationId: Me.ListAddressInfo.AsEventLocation + produces: + - application/json responses: '200': - $ref: '#/responses/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocationCollectionResponse' + description: Entity result. + schema: + $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation' default: $ref: '#/responses/error' deprecated: true @@ -5674,11 +5742,15 @@ paths: get: tags: - Me.Person.Location - summary: Get the items of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation in the Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location collection + summary: Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location as Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation operationId: Me.BestFriend.ListAddressInfo.AsEventLocation + produces: + - application/json responses: '200': - $ref: '#/responses/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocationCollectionResponse' + description: Entity result. + schema: + $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation' default: $ref: '#/responses/error' deprecated: true @@ -5738,7 +5810,7 @@ paths: type: string responses: '200': - description: Result entities + description: Entity result. schema: $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location' default: @@ -5778,11 +5850,15 @@ paths: get: tags: - Me.Person.Location - summary: Get the items of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation in the Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location collection + summary: Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location as Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation operationId: Me.BestFriend.GetHomeAddress.AsEventLocation + produces: + - application/json responses: '200': - $ref: '#/responses/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocationCollectionResponse' + description: Entity result. + schema: + $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation' default: $ref: '#/responses/error' deprecated: true @@ -5815,7 +5891,7 @@ paths: type: string responses: '200': - description: Result entities + description: Entity result. schema: $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee' default: @@ -6129,8 +6205,10 @@ paths: get: tags: - Me.Person.Location - summary: Get the items of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation in the Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location collection + summary: Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location as Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation operationId: Me.DirectReports.ListAddressInfo.AsEventLocation + produces: + - application/json parameters: - in: path name: UserName @@ -6140,7 +6218,9 @@ paths: x-ms-docs-key-type: Person responses: '200': - $ref: '#/responses/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocationCollectionResponse' + description: Entity result. + schema: + $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation' default: $ref: '#/responses/error' deprecated: true @@ -6212,7 +6292,7 @@ paths: type: string responses: '200': - description: Result entities + description: Entity result. schema: $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location' default: @@ -6258,8 +6338,10 @@ paths: get: tags: - Me.Person.Location - summary: Get the items of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation in the Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location collection + summary: Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location as Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation operationId: Me.DirectReports.GetHomeAddress.AsEventLocation + produces: + - application/json parameters: - in: path name: UserName @@ -6269,7 +6351,9 @@ paths: x-ms-docs-key-type: Person responses: '200': - $ref: '#/responses/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocationCollectionResponse' + description: Entity result. + schema: + $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation' default: $ref: '#/responses/error' deprecated: true @@ -6702,8 +6786,10 @@ paths: get: tags: - Me.Person.Location - summary: Get the items of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation in the Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location collection + summary: Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location as Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation operationId: Me.Friends.ListAddressInfo.AsEventLocation + produces: + - application/json parameters: - in: path name: UserName @@ -6713,7 +6799,9 @@ paths: x-ms-docs-key-type: Person responses: '200': - $ref: '#/responses/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocationCollectionResponse' + description: Entity result. + schema: + $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation' default: $ref: '#/responses/error' deprecated: true @@ -6777,7 +6865,7 @@ paths: type: string responses: '200': - description: Result entities + description: Entity result. schema: $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location' default: @@ -6823,8 +6911,10 @@ paths: get: tags: - Me.Person.Location - summary: Get the items of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation in the Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location collection + summary: Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location as Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation operationId: Me.Friends.GetHomeAddress.AsEventLocation + produces: + - application/json parameters: - in: path name: UserName @@ -6834,7 +6924,9 @@ paths: x-ms-docs-key-type: Person responses: '200': - $ref: '#/responses/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocationCollectionResponse' + description: Entity result. + schema: + $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation' default: $ref: '#/responses/error' deprecated: true @@ -6881,7 +6973,7 @@ paths: type: string responses: '200': - description: Result entities + description: Entity result. schema: $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee' default: @@ -7199,7 +7291,7 @@ paths: type: string responses: '200': - description: Result entities + description: Entity result. schema: $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location' default: @@ -7239,11 +7331,15 @@ paths: get: tags: - Me.Location - summary: Get the items of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation in the Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location collection + summary: Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location as Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation operationId: Me.GetHomeAddress.AsEventLocation + produces: + - application/json responses: '200': - $ref: '#/responses/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocationCollectionResponse' + description: Entity result. + schema: + $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation' default: $ref: '#/responses/error' deprecated: true @@ -8767,8 +8863,10 @@ paths: get: tags: - NewComePeople.Location - summary: Get the items of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation in the Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location collection + summary: Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location as Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation operationId: NewComePeople.ListAddressInfo.AsEventLocation + produces: + - application/json parameters: - in: path name: UserName @@ -8778,7 +8876,9 @@ paths: x-ms-docs-key-type: Person responses: '200': - $ref: '#/responses/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocationCollectionResponse' + description: Entity result. + schema: + $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation' default: $ref: '#/responses/error' x-description: Casts the previous resource to EventLocation. @@ -9129,8 +9229,10 @@ paths: get: tags: - NewComePeople.Person.Location - summary: Get the items of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation in the Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location collection + summary: Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location as Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation operationId: NewComePeople.BestFriend.ListAddressInfo.AsEventLocation + produces: + - application/json parameters: - in: path name: UserName @@ -9140,7 +9242,9 @@ paths: x-ms-docs-key-type: Person responses: '200': - $ref: '#/responses/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocationCollectionResponse' + description: Entity result. + schema: + $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation' default: $ref: '#/responses/error' deprecated: true @@ -9212,7 +9316,7 @@ paths: type: string responses: '200': - description: Result entities + description: Entity result. schema: $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location' default: @@ -9258,8 +9362,10 @@ paths: get: tags: - NewComePeople.Person.Location - summary: Get the items of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation in the Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location collection + summary: Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location as Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation operationId: NewComePeople.BestFriend.GetHomeAddress.AsEventLocation + produces: + - application/json parameters: - in: path name: UserName @@ -9269,7 +9375,9 @@ paths: x-ms-docs-key-type: Person responses: '200': - $ref: '#/responses/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocationCollectionResponse' + description: Entity result. + schema: + $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation' default: $ref: '#/responses/error' deprecated: true @@ -9308,7 +9416,7 @@ paths: type: string responses: '200': - description: Result entities + description: Entity result. schema: $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee' default: @@ -9349,7 +9457,7 @@ paths: type: string responses: '200': - description: Result entities + description: Entity result. schema: $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager' default: @@ -9691,8 +9799,10 @@ paths: get: tags: - NewComePeople.Person.Location - summary: Get the items of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation in the Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location collection + summary: Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location as Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation operationId: NewComePeople.Friends.ListAddressInfo.AsEventLocation + produces: + - application/json parameters: - in: path name: UserName @@ -9708,7 +9818,9 @@ paths: x-ms-docs-key-type: Person responses: '200': - $ref: '#/responses/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocationCollectionResponse' + description: Entity result. + schema: + $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation' default: $ref: '#/responses/error' x-description: Casts the previous resource to EventLocation. @@ -9780,7 +9892,7 @@ paths: type: string responses: '200': - description: Result entities + description: Entity result. schema: $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location' default: @@ -9820,8 +9932,10 @@ paths: get: tags: - NewComePeople.Person.Location - summary: Get the items of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation in the Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location collection + summary: Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location as Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation operationId: NewComePeople.Friends.GetHomeAddress.AsEventLocation + produces: + - application/json parameters: - in: path name: UserName @@ -9837,7 +9951,9 @@ paths: x-ms-docs-key-type: Person responses: '200': - $ref: '#/responses/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocationCollectionResponse' + description: Entity result. + schema: + $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation' default: $ref: '#/responses/error' x-description: Casts the previous resource to EventLocation. @@ -9884,7 +10000,7 @@ paths: type: string responses: '200': - description: Result entities + description: Entity result. schema: $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee' default: @@ -9933,7 +10049,7 @@ paths: type: string responses: '200': - description: Result entities + description: Entity result. schema: $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager' default: @@ -10330,7 +10446,7 @@ paths: type: string responses: '200': - description: Result entities + description: Entity result. schema: $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location' default: @@ -10364,8 +10480,10 @@ paths: get: tags: - NewComePeople.Location - summary: Get the items of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation in the Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location collection + summary: Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location as Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation operationId: NewComePeople.GetHomeAddress.AsEventLocation + produces: + - application/json parameters: - in: path name: UserName @@ -10375,7 +10493,9 @@ paths: x-ms-docs-key-type: Person responses: '200': - $ref: '#/responses/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocationCollectionResponse' + description: Entity result. + schema: + $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation' default: $ref: '#/responses/error' x-description: Casts the previous resource to EventLocation. @@ -11511,8 +11631,10 @@ paths: get: tags: - People.Location - summary: Get the items of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation in the Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location collection + summary: Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location as Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation operationId: People.ListAddressInfo.AsEventLocation + produces: + - application/json parameters: - in: path name: UserName @@ -11522,7 +11644,9 @@ paths: x-ms-docs-key-type: Person responses: '200': - $ref: '#/responses/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocationCollectionResponse' + description: Entity result. + schema: + $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation' default: $ref: '#/responses/error' deprecated: true @@ -11872,8 +11996,10 @@ paths: get: tags: - People.Person.Location - summary: Get the items of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation in the Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location collection + summary: Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location as Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation operationId: People.BestFriend.ListAddressInfo.AsEventLocation + produces: + - application/json parameters: - in: path name: UserName @@ -11883,7 +12009,9 @@ paths: x-ms-docs-key-type: Person responses: '200': - $ref: '#/responses/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocationCollectionResponse' + description: Entity result. + schema: + $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation' default: $ref: '#/responses/error' deprecated: true @@ -11947,7 +12075,7 @@ paths: type: string responses: '200': - description: Result entities + description: Entity result. schema: $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location' default: @@ -11993,8 +12121,10 @@ paths: get: tags: - People.Person.Location - summary: Get the items of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation in the Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location collection + summary: Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location as Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation operationId: People.BestFriend.GetHomeAddress.AsEventLocation + produces: + - application/json parameters: - in: path name: UserName @@ -12004,7 +12134,9 @@ paths: x-ms-docs-key-type: Person responses: '200': - $ref: '#/responses/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocationCollectionResponse' + description: Entity result. + schema: + $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation' default: $ref: '#/responses/error' deprecated: true @@ -12043,7 +12175,7 @@ paths: type: string responses: '200': - description: Result entities + description: Entity result. schema: $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee' default: @@ -12088,7 +12220,7 @@ paths: type: string responses: '200': - description: Result entities + description: Entity result. schema: $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager' default: @@ -12468,8 +12600,10 @@ paths: get: tags: - People.Person.Location - summary: Get the items of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation in the Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location collection + summary: Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location as Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation operationId: People.Friends.ListAddressInfo.AsEventLocation + produces: + - application/json parameters: - in: path name: UserName @@ -12485,7 +12619,9 @@ paths: x-ms-docs-key-type: Person responses: '200': - $ref: '#/responses/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocationCollectionResponse' + description: Entity result. + schema: + $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation' default: $ref: '#/responses/error' deprecated: true @@ -12561,7 +12697,7 @@ paths: type: string responses: '200': - description: Result entities + description: Entity result. schema: $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location' default: @@ -12613,8 +12749,10 @@ paths: get: tags: - People.Person.Location - summary: Get the items of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation in the Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location collection + summary: Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location as Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation operationId: People.Friends.GetHomeAddress.AsEventLocation + produces: + - application/json parameters: - in: path name: UserName @@ -12630,7 +12768,9 @@ paths: x-ms-docs-key-type: Person responses: '200': - $ref: '#/responses/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocationCollectionResponse' + description: Entity result. + schema: + $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation' default: $ref: '#/responses/error' deprecated: true @@ -12683,7 +12823,7 @@ paths: type: string responses: '200': - description: Result entities + description: Entity result. schema: $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee' default: @@ -12738,7 +12878,7 @@ paths: type: string responses: '200': - description: Result entities + description: Entity result. schema: $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager' default: @@ -13219,7 +13359,7 @@ paths: type: string responses: '200': - description: Result entities + description: Entity result. schema: $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location' default: @@ -13265,8 +13405,10 @@ paths: get: tags: - People.Location - summary: Get the items of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation in the Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location collection + summary: Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location as Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation operationId: People.GetHomeAddress.AsEventLocation + produces: + - application/json parameters: - in: path name: UserName @@ -13276,7 +13418,9 @@ paths: x-ms-docs-key-type: Person responses: '200': - $ref: '#/responses/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocationCollectionResponse' + description: Entity result. + schema: + $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation' default: $ref: '#/responses/error' deprecated: true @@ -13323,7 +13467,7 @@ paths: type: string responses: '200': - description: Result entities + description: Entity result. schema: $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee' default: @@ -13494,8 +13638,10 @@ paths: get: tags: - People.Location - summary: Get the items of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation in the Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location collection + summary: Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location as Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation operationId: People.ListAddressInfo.AsEventLocation + produces: + - application/json parameters: - in: path name: UserName @@ -13505,7 +13651,9 @@ paths: x-ms-docs-key-type: Person responses: '200': - $ref: '#/responses/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocationCollectionResponse' + description: Entity result. + schema: + $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation' default: $ref: '#/responses/error' deprecated: true @@ -13871,8 +14019,10 @@ paths: get: tags: - People.Person.Location - summary: Get the items of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation in the Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location collection + summary: Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location as Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation operationId: People.BestFriend.ListAddressInfo.AsEventLocation + produces: + - application/json parameters: - in: path name: UserName @@ -13882,7 +14032,9 @@ paths: x-ms-docs-key-type: Person responses: '200': - $ref: '#/responses/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocationCollectionResponse' + description: Entity result. + schema: + $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation' default: $ref: '#/responses/error' deprecated: true @@ -13954,7 +14106,7 @@ paths: type: string responses: '200': - description: Result entities + description: Entity result. schema: $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location' default: @@ -14000,8 +14152,10 @@ paths: get: tags: - People.Person.Location - summary: Get the items of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation in the Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location collection + summary: Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location as Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation operationId: People.BestFriend.GetHomeAddress.AsEventLocation + produces: + - application/json parameters: - in: path name: UserName @@ -14011,7 +14165,9 @@ paths: x-ms-docs-key-type: Person responses: '200': - $ref: '#/responses/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocationCollectionResponse' + description: Entity result. + schema: + $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation' default: $ref: '#/responses/error' deprecated: true @@ -14050,7 +14206,7 @@ paths: type: string responses: '200': - description: Result entities + description: Entity result. schema: $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager' default: @@ -14431,8 +14587,10 @@ paths: get: tags: - People.Person.Location - summary: Get the items of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation in the Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location collection + summary: Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location as Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation operationId: People.Friends.ListAddressInfo.AsEventLocation + produces: + - application/json parameters: - in: path name: UserName @@ -14448,7 +14606,9 @@ paths: x-ms-docs-key-type: Person responses: '200': - $ref: '#/responses/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocationCollectionResponse' + description: Entity result. + schema: + $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation' default: $ref: '#/responses/error' deprecated: true @@ -14532,7 +14692,7 @@ paths: type: string responses: '200': - description: Result entities + description: Entity result. schema: $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location' default: @@ -14584,8 +14744,10 @@ paths: get: tags: - People.Person.Location - summary: Get the items of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation in the Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location collection + summary: Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location as Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation operationId: People.Friends.GetHomeAddress.AsEventLocation + produces: + - application/json parameters: - in: path name: UserName @@ -14601,7 +14763,9 @@ paths: x-ms-docs-key-type: Person responses: '200': - $ref: '#/responses/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocationCollectionResponse' + description: Entity result. + schema: + $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation' default: $ref: '#/responses/error' deprecated: true @@ -14654,7 +14818,7 @@ paths: type: string responses: '200': - description: Result entities + description: Entity result. schema: $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager' default: @@ -15032,7 +15196,7 @@ paths: type: string responses: '200': - description: Result entities + description: Entity result. schema: $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location' default: @@ -15078,8 +15242,10 @@ paths: get: tags: - People.Location - summary: Get the items of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation in the Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location collection + summary: Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location as Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation operationId: People.GetHomeAddress.AsEventLocation + produces: + - application/json parameters: - in: path name: UserName @@ -15089,7 +15255,9 @@ paths: x-ms-docs-key-type: Person responses: '200': - $ref: '#/responses/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocationCollectionResponse' + description: Entity result. + schema: + $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation' default: $ref: '#/responses/error' deprecated: true @@ -15367,8 +15535,10 @@ paths: get: tags: - People.Person.Location - summary: Get the items of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation in the Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location collection + summary: Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location as Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation operationId: People.Peers.ListAddressInfo.AsEventLocation + produces: + - application/json parameters: - in: path name: UserName @@ -15384,7 +15554,9 @@ paths: x-ms-docs-key-type: Person responses: '200': - $ref: '#/responses/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocationCollectionResponse' + description: Entity result. + schema: + $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation' default: $ref: '#/responses/error' deprecated: true @@ -15468,7 +15640,7 @@ paths: type: string responses: '200': - description: Result entities + description: Entity result. schema: $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location' default: @@ -15520,8 +15692,10 @@ paths: get: tags: - People.Person.Location - summary: Get the items of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation in the Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location collection + summary: Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location as Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation operationId: People.Peers.GetHomeAddress.AsEventLocation + produces: + - application/json parameters: - in: path name: UserName @@ -15537,7 +15711,9 @@ paths: x-ms-docs-key-type: Person responses: '200': - $ref: '#/responses/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocationCollectionResponse' + description: Entity result. + schema: + $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation' default: $ref: '#/responses/error' deprecated: true @@ -16541,7 +16717,7 @@ paths: type: string responses: '200': - description: Result entities + description: Entity result. schema: $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Manager' default: @@ -16712,8 +16888,10 @@ paths: get: tags: - People.Location - summary: Get the items of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation in the Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location collection + summary: Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location as Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation operationId: People.ListAddressInfo.AsEventLocation + produces: + - application/json parameters: - in: path name: UserName @@ -16723,7 +16901,9 @@ paths: x-ms-docs-key-type: Person responses: '200': - $ref: '#/responses/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocationCollectionResponse' + description: Entity result. + schema: + $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation' default: $ref: '#/responses/error' deprecated: true @@ -17089,8 +17269,10 @@ paths: get: tags: - People.Person.Location - summary: Get the items of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation in the Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location collection + summary: Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location as Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation operationId: People.BestFriend.ListAddressInfo.AsEventLocation + produces: + - application/json parameters: - in: path name: UserName @@ -17100,7 +17282,9 @@ paths: x-ms-docs-key-type: Person responses: '200': - $ref: '#/responses/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocationCollectionResponse' + description: Entity result. + schema: + $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation' default: $ref: '#/responses/error' deprecated: true @@ -17172,7 +17356,7 @@ paths: type: string responses: '200': - description: Result entities + description: Entity result. schema: $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location' default: @@ -17218,8 +17402,10 @@ paths: get: tags: - People.Person.Location - summary: Get the items of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation in the Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location collection + summary: Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location as Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation operationId: People.BestFriend.GetHomeAddress.AsEventLocation + produces: + - application/json parameters: - in: path name: UserName @@ -17229,7 +17415,9 @@ paths: x-ms-docs-key-type: Person responses: '200': - $ref: '#/responses/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocationCollectionResponse' + description: Entity result. + schema: + $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation' default: $ref: '#/responses/error' deprecated: true @@ -17268,7 +17456,7 @@ paths: type: string responses: '200': - description: Result entities + description: Entity result. schema: $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee' default: @@ -17637,8 +17825,10 @@ paths: get: tags: - People.Person.Location - summary: Get the items of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation in the Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location collection + summary: Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location as Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation operationId: People.DirectReports.ListAddressInfo.AsEventLocation + produces: + - application/json parameters: - in: path name: UserName @@ -17654,7 +17844,9 @@ paths: x-ms-docs-key-type: Person responses: '200': - $ref: '#/responses/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocationCollectionResponse' + description: Entity result. + schema: + $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation' default: $ref: '#/responses/error' deprecated: true @@ -17738,7 +17930,7 @@ paths: type: string responses: '200': - description: Result entities + description: Entity result. schema: $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location' default: @@ -17790,8 +17982,10 @@ paths: get: tags: - People.Person.Location - summary: Get the items of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation in the Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location collection + summary: Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location as Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation operationId: People.DirectReports.GetHomeAddress.AsEventLocation + produces: + - application/json parameters: - in: path name: UserName @@ -17807,7 +18001,9 @@ paths: x-ms-docs-key-type: Person responses: '200': - $ref: '#/responses/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocationCollectionResponse' + description: Entity result. + schema: + $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation' default: $ref: '#/responses/error' deprecated: true @@ -18318,8 +18514,10 @@ paths: get: tags: - People.Person.Location - summary: Get the items of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation in the Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location collection + summary: Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location as Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation operationId: People.Friends.ListAddressInfo.AsEventLocation + produces: + - application/json parameters: - in: path name: UserName @@ -18335,7 +18533,9 @@ paths: x-ms-docs-key-type: Person responses: '200': - $ref: '#/responses/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocationCollectionResponse' + description: Entity result. + schema: + $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation' default: $ref: '#/responses/error' deprecated: true @@ -18411,7 +18611,7 @@ paths: type: string responses: '200': - description: Result entities + description: Entity result. schema: $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location' default: @@ -18463,8 +18663,10 @@ paths: get: tags: - People.Person.Location - summary: Get the items of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation in the Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location collection + summary: Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location as Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation operationId: People.Friends.GetHomeAddress.AsEventLocation + produces: + - application/json parameters: - in: path name: UserName @@ -18480,7 +18682,9 @@ paths: x-ms-docs-key-type: Person responses: '200': - $ref: '#/responses/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocationCollectionResponse' + description: Entity result. + schema: + $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation' default: $ref: '#/responses/error' deprecated: true @@ -18533,7 +18737,7 @@ paths: type: string responses: '200': - description: Result entities + description: Entity result. schema: $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee' default: @@ -18911,7 +19115,7 @@ paths: type: string responses: '200': - description: Result entities + description: Entity result. schema: $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location' default: @@ -18957,8 +19161,10 @@ paths: get: tags: - People.Location - summary: Get the items of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation in the Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location collection + summary: Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location as Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation operationId: People.GetHomeAddress.AsEventLocation + produces: + - application/json parameters: - in: path name: UserName @@ -18968,7 +19174,9 @@ paths: x-ms-docs-key-type: Person responses: '200': - $ref: '#/responses/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocationCollectionResponse' + description: Entity result. + schema: + $ref: '#/definitions/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation' default: $ref: '#/responses/error' deprecated: true diff --git a/test/Microsoft.OpenAPI.OData.Reader.Tests/Resources/TripService.OpenApi.json b/test/Microsoft.OpenAPI.OData.Reader.Tests/Resources/TripService.OpenApi.json index 9b5ddfdd..7f4abd96 100644 --- a/test/Microsoft.OpenAPI.OData.Reader.Tests/Resources/TripService.OpenApi.json +++ b/test/Microsoft.OpenAPI.OData.Reader.Tests/Resources/TripService.OpenApi.json @@ -590,7 +590,7 @@ ], "responses": { "200": { - "description": "Result entities", + "description": "Entity result.", "content": { "application/json": { "schema": { @@ -1039,7 +1039,7 @@ "tags": [ "Airports.Person.Location" ], - "summary": "Get the items of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation in the Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location collection", + "summary": "Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location as Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation", "operationId": "Airports.EmergencyAuthority.ListAddressInfo.AsEventLocation", "parameters": [ { @@ -1055,7 +1055,14 @@ ], "responses": { "200": { - "$ref": "#/components/responses/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocationCollectionResponse" + "description": "Entity result.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation" + } + } + } }, "default": { "$ref": "#/components/responses/error" @@ -1145,7 +1152,7 @@ ], "responses": { "200": { - "description": "Result entities", + "description": "Entity result.", "content": { "application/json": { "schema": { @@ -1204,7 +1211,7 @@ "tags": [ "Airports.Person.Location" ], - "summary": "Get the items of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation in the Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location collection", + "summary": "Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location as Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation", "operationId": "Airports.EmergencyAuthority.GetHomeAddress.AsEventLocation", "parameters": [ { @@ -1220,7 +1227,14 @@ ], "responses": { "200": { - "$ref": "#/components/responses/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocationCollectionResponse" + "description": "Entity result.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation" + } + } + } }, "default": { "$ref": "#/components/responses/error" @@ -1782,11 +1796,18 @@ "tags": [ "Me.Location" ], - "summary": "Get the items of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation in the Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location collection", + "summary": "Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location as Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation", "operationId": "Me.ListAddressInfo.AsEventLocation", "responses": { "200": { - "$ref": "#/components/responses/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocationCollectionResponse" + "description": "Entity result.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation" + } + } + } }, "default": { "$ref": "#/components/responses/error" @@ -2237,11 +2258,18 @@ "tags": [ "Me.Person.Location" ], - "summary": "Get the items of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation in the Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location collection", + "summary": "Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location as Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation", "operationId": "Me.BestFriend.ListAddressInfo.AsEventLocation", "responses": { "200": { - "$ref": "#/components/responses/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocationCollectionResponse" + "description": "Entity result.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation" + } + } + } }, "default": { "$ref": "#/components/responses/error" @@ -2325,7 +2353,7 @@ ], "responses": { "200": { - "description": "Result entities", + "description": "Entity result.", "content": { "application/json": { "schema": { @@ -2386,11 +2414,18 @@ "tags": [ "Me.Person.Location" ], - "summary": "Get the items of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation in the Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location collection", + "summary": "Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location as Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation", "operationId": "Me.BestFriend.GetHomeAddress.AsEventLocation", "responses": { "200": { - "$ref": "#/components/responses/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocationCollectionResponse" + "description": "Entity result.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation" + } + } + } }, "default": { "$ref": "#/components/responses/error" @@ -2445,7 +2480,7 @@ ], "responses": { "200": { - "description": "Result entities", + "description": "Entity result.", "content": { "application/json": { "schema": { @@ -2507,7 +2542,7 @@ ], "responses": { "200": { - "description": "Result entities", + "description": "Entity result.", "content": { "application/json": { "schema": { @@ -3029,7 +3064,7 @@ "tags": [ "Me.Person.Location" ], - "summary": "Get the items of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation in the Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location collection", + "summary": "Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location as Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation", "operationId": "Me.Friends.ListAddressInfo.AsEventLocation", "parameters": [ { @@ -3045,7 +3080,14 @@ ], "responses": { "200": { - "$ref": "#/components/responses/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocationCollectionResponse" + "description": "Entity result.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation" + } + } + } }, "default": { "$ref": "#/components/responses/error" @@ -3149,7 +3191,7 @@ ], "responses": { "200": { - "description": "Result entities", + "description": "Entity result.", "content": { "application/json": { "schema": { @@ -3222,7 +3264,7 @@ "tags": [ "Me.Person.Location" ], - "summary": "Get the items of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation in the Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location collection", + "summary": "Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location as Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation", "operationId": "Me.Friends.GetHomeAddress.AsEventLocation", "parameters": [ { @@ -3238,7 +3280,14 @@ ], "responses": { "200": { - "$ref": "#/components/responses/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocationCollectionResponse" + "description": "Entity result.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation" + } + } + } }, "default": { "$ref": "#/components/responses/error" @@ -3317,7 +3366,7 @@ ], "responses": { "200": { - "description": "Result entities", + "description": "Entity result.", "content": { "application/json": { "schema": { @@ -3403,7 +3452,7 @@ ], "responses": { "200": { - "description": "Result entities", + "description": "Entity result.", "content": { "application/json": { "schema": { @@ -4074,7 +4123,7 @@ ], "responses": { "200": { - "description": "Result entities", + "description": "Entity result.", "content": { "application/json": { "schema": { @@ -4135,11 +4184,18 @@ "tags": [ "Me.Location" ], - "summary": "Get the items of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation in the Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location collection", + "summary": "Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location as Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation", "operationId": "Me.GetHomeAddress.AsEventLocation", "responses": { "200": { - "$ref": "#/components/responses/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocationCollectionResponse" + "description": "Entity result.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation" + } + } + } }, "default": { "$ref": "#/components/responses/error" @@ -4194,7 +4250,7 @@ ], "responses": { "200": { - "description": "Result entities", + "description": "Entity result.", "content": { "application/json": { "schema": { @@ -4439,11 +4495,18 @@ "tags": [ "Me.Location" ], - "summary": "Get the items of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation in the Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location collection", + "summary": "Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location as Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation", "operationId": "Me.ListAddressInfo.AsEventLocation", "responses": { "200": { - "$ref": "#/components/responses/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocationCollectionResponse" + "description": "Entity result.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation" + } + } + } }, "default": { "$ref": "#/components/responses/error" @@ -4922,11 +4985,18 @@ "tags": [ "Me.Person.Location" ], - "summary": "Get the items of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation in the Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location collection", + "summary": "Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location as Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation", "operationId": "Me.BestFriend.ListAddressInfo.AsEventLocation", "responses": { "200": { - "$ref": "#/components/responses/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocationCollectionResponse" + "description": "Entity result.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation" + } + } + } }, "default": { "$ref": "#/components/responses/error" @@ -5024,7 +5094,7 @@ ], "responses": { "200": { - "description": "Result entities", + "description": "Entity result.", "content": { "application/json": { "schema": { @@ -5085,11 +5155,18 @@ "tags": [ "Me.Person.Location" ], - "summary": "Get the items of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation in the Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location collection", + "summary": "Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location as Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation", "operationId": "Me.BestFriend.GetHomeAddress.AsEventLocation", "responses": { "200": { - "$ref": "#/components/responses/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocationCollectionResponse" + "description": "Entity result.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation" + } + } + } }, "default": { "$ref": "#/components/responses/error" @@ -5144,7 +5221,7 @@ ], "responses": { "200": { - "description": "Result entities", + "description": "Entity result.", "content": { "application/json": { "schema": { @@ -5680,7 +5757,7 @@ "tags": [ "Me.Person.Location" ], - "summary": "Get the items of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation in the Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location collection", + "summary": "Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location as Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation", "operationId": "Me.Friends.ListAddressInfo.AsEventLocation", "parameters": [ { @@ -5696,7 +5773,14 @@ ], "responses": { "200": { - "$ref": "#/components/responses/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocationCollectionResponse" + "description": "Entity result.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation" + } + } + } }, "default": { "$ref": "#/components/responses/error" @@ -5814,7 +5898,7 @@ ], "responses": { "200": { - "description": "Result entities", + "description": "Entity result.", "content": { "application/json": { "schema": { @@ -5887,7 +5971,7 @@ "tags": [ "Me.Person.Location" ], - "summary": "Get the items of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation in the Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location collection", + "summary": "Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location as Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation", "operationId": "Me.Friends.GetHomeAddress.AsEventLocation", "parameters": [ { @@ -5903,7 +5987,14 @@ ], "responses": { "200": { - "$ref": "#/components/responses/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocationCollectionResponse" + "description": "Entity result.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation" + } + } + } }, "default": { "$ref": "#/components/responses/error" @@ -5982,7 +6073,7 @@ ], "responses": { "200": { - "description": "Result entities", + "description": "Entity result.", "content": { "application/json": { "schema": { @@ -6508,7 +6599,7 @@ ], "responses": { "200": { - "description": "Result entities", + "description": "Entity result.", "content": { "application/json": { "schema": { @@ -6569,11 +6660,18 @@ "tags": [ "Me.Location" ], - "summary": "Get the items of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation in the Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location collection", + "summary": "Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location as Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation", "operationId": "Me.GetHomeAddress.AsEventLocation", "responses": { "200": { - "$ref": "#/components/responses/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocationCollectionResponse" + "description": "Entity result.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation" + } + } + } }, "default": { "$ref": "#/components/responses/error" @@ -6984,7 +7082,7 @@ "tags": [ "Me.Person.Location" ], - "summary": "Get the items of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation in the Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location collection", + "summary": "Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location as Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation", "operationId": "Me.Peers.ListAddressInfo.AsEventLocation", "parameters": [ { @@ -7000,7 +7098,14 @@ ], "responses": { "200": { - "$ref": "#/components/responses/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocationCollectionResponse" + "description": "Entity result.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation" + } + } + } }, "default": { "$ref": "#/components/responses/error" @@ -7118,7 +7223,7 @@ ], "responses": { "200": { - "description": "Result entities", + "description": "Entity result.", "content": { "application/json": { "schema": { @@ -7191,7 +7296,7 @@ "tags": [ "Me.Person.Location" ], - "summary": "Get the items of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation in the Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location collection", + "summary": "Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location as Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation", "operationId": "Me.Peers.GetHomeAddress.AsEventLocation", "parameters": [ { @@ -7207,7 +7312,14 @@ ], "responses": { "200": { - "$ref": "#/components/responses/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocationCollectionResponse" + "description": "Entity result.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation" + } + } + } }, "default": { "$ref": "#/components/responses/error" @@ -8587,7 +8699,7 @@ ], "responses": { "200": { - "description": "Result entities", + "description": "Entity result.", "content": { "application/json": { "schema": { @@ -8832,11 +8944,18 @@ "tags": [ "Me.Location" ], - "summary": "Get the items of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation in the Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location collection", + "summary": "Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location as Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation", "operationId": "Me.ListAddressInfo.AsEventLocation", "responses": { "200": { - "$ref": "#/components/responses/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocationCollectionResponse" + "description": "Entity result.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation" + } + } + } }, "default": { "$ref": "#/components/responses/error" @@ -9315,11 +9434,18 @@ "tags": [ "Me.Person.Location" ], - "summary": "Get the items of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation in the Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location collection", + "summary": "Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location as Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation", "operationId": "Me.BestFriend.ListAddressInfo.AsEventLocation", "responses": { "200": { - "$ref": "#/components/responses/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocationCollectionResponse" + "description": "Entity result.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation" + } + } + } }, "default": { "$ref": "#/components/responses/error" @@ -9417,7 +9543,7 @@ ], "responses": { "200": { - "description": "Result entities", + "description": "Entity result.", "content": { "application/json": { "schema": { @@ -9478,11 +9604,18 @@ "tags": [ "Me.Person.Location" ], - "summary": "Get the items of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation in the Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location collection", + "summary": "Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location as Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation", "operationId": "Me.BestFriend.GetHomeAddress.AsEventLocation", "responses": { "200": { - "$ref": "#/components/responses/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocationCollectionResponse" + "description": "Entity result.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation" + } + } + } }, "default": { "$ref": "#/components/responses/error" @@ -9537,7 +9670,7 @@ ], "responses": { "200": { - "description": "Result entities", + "description": "Entity result.", "content": { "application/json": { "schema": { @@ -10054,7 +10187,7 @@ "tags": [ "Me.Person.Location" ], - "summary": "Get the items of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation in the Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location collection", + "summary": "Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location as Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation", "operationId": "Me.DirectReports.ListAddressInfo.AsEventLocation", "parameters": [ { @@ -10070,7 +10203,14 @@ ], "responses": { "200": { - "$ref": "#/components/responses/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocationCollectionResponse" + "description": "Entity result.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation" + } + } + } }, "default": { "$ref": "#/components/responses/error" @@ -10188,7 +10328,7 @@ ], "responses": { "200": { - "description": "Result entities", + "description": "Entity result.", "content": { "application/json": { "schema": { @@ -10261,7 +10401,7 @@ "tags": [ "Me.Person.Location" ], - "summary": "Get the items of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation in the Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location collection", + "summary": "Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location as Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation", "operationId": "Me.DirectReports.GetHomeAddress.AsEventLocation", "parameters": [ { @@ -10277,7 +10417,14 @@ ], "responses": { "200": { - "$ref": "#/components/responses/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocationCollectionResponse" + "description": "Entity result.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation" + } + } + } }, "default": { "$ref": "#/components/responses/error" @@ -10984,7 +11131,7 @@ "tags": [ "Me.Person.Location" ], - "summary": "Get the items of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation in the Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location collection", + "summary": "Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location as Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation", "operationId": "Me.Friends.ListAddressInfo.AsEventLocation", "parameters": [ { @@ -11000,7 +11147,14 @@ ], "responses": { "200": { - "$ref": "#/components/responses/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocationCollectionResponse" + "description": "Entity result.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation" + } + } + } }, "default": { "$ref": "#/components/responses/error" @@ -11104,7 +11258,7 @@ ], "responses": { "200": { - "description": "Result entities", + "description": "Entity result.", "content": { "application/json": { "schema": { @@ -11177,7 +11331,7 @@ "tags": [ "Me.Person.Location" ], - "summary": "Get the items of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation in the Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location collection", + "summary": "Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location as Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation", "operationId": "Me.Friends.GetHomeAddress.AsEventLocation", "parameters": [ { @@ -11193,7 +11347,14 @@ ], "responses": { "200": { - "$ref": "#/components/responses/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocationCollectionResponse" + "description": "Entity result.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation" + } + } + } }, "default": { "$ref": "#/components/responses/error" @@ -11272,7 +11433,7 @@ ], "responses": { "200": { - "description": "Result entities", + "description": "Entity result.", "content": { "application/json": { "schema": { @@ -11798,7 +11959,7 @@ ], "responses": { "200": { - "description": "Result entities", + "description": "Entity result.", "content": { "application/json": { "schema": { @@ -11859,11 +12020,18 @@ "tags": [ "Me.Location" ], - "summary": "Get the items of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation in the Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location collection", + "summary": "Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location as Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation", "operationId": "Me.GetHomeAddress.AsEventLocation", "responses": { "200": { - "$ref": "#/components/responses/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocationCollectionResponse" + "description": "Entity result.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation" + } + } + } }, "default": { "$ref": "#/components/responses/error" @@ -14354,7 +14522,7 @@ "tags": [ "NewComePeople.Location" ], - "summary": "Get the items of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation in the Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location collection", + "summary": "Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location as Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation", "operationId": "NewComePeople.ListAddressInfo.AsEventLocation", "parameters": [ { @@ -14370,7 +14538,14 @@ ], "responses": { "200": { - "$ref": "#/components/responses/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocationCollectionResponse" + "description": "Entity result.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation" + } + } + } }, "default": { "$ref": "#/components/responses/error" @@ -14939,7 +15114,7 @@ "tags": [ "NewComePeople.Person.Location" ], - "summary": "Get the items of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation in the Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location collection", + "summary": "Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location as Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation", "operationId": "NewComePeople.BestFriend.ListAddressInfo.AsEventLocation", "parameters": [ { @@ -14955,7 +15130,14 @@ ], "responses": { "200": { - "$ref": "#/components/responses/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocationCollectionResponse" + "description": "Entity result.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation" + } + } + } }, "default": { "$ref": "#/components/responses/error" @@ -15073,7 +15255,7 @@ ], "responses": { "200": { - "description": "Result entities", + "description": "Entity result.", "content": { "application/json": { "schema": { @@ -15146,7 +15328,7 @@ "tags": [ "NewComePeople.Person.Location" ], - "summary": "Get the items of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation in the Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location collection", + "summary": "Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location as Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation", "operationId": "NewComePeople.BestFriend.GetHomeAddress.AsEventLocation", "parameters": [ { @@ -15162,7 +15344,14 @@ ], "responses": { "200": { - "$ref": "#/components/responses/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocationCollectionResponse" + "description": "Entity result.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation" + } + } + } }, "default": { "$ref": "#/components/responses/error" @@ -15227,7 +15416,7 @@ ], "responses": { "200": { - "description": "Result entities", + "description": "Entity result.", "content": { "application/json": { "schema": { @@ -15299,7 +15488,7 @@ ], "responses": { "200": { - "description": "Result entities", + "description": "Entity result.", "content": { "application/json": { "schema": { @@ -15883,7 +16072,7 @@ "tags": [ "NewComePeople.Person.Location" ], - "summary": "Get the items of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation in the Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location collection", + "summary": "Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location as Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation", "operationId": "NewComePeople.Friends.ListAddressInfo.AsEventLocation", "parameters": [ { @@ -15909,7 +16098,14 @@ ], "responses": { "200": { - "$ref": "#/components/responses/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocationCollectionResponse" + "description": "Entity result.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation" + } + } + } }, "default": { "$ref": "#/components/responses/error" @@ -16033,7 +16229,7 @@ ], "responses": { "200": { - "description": "Result entities", + "description": "Entity result.", "content": { "application/json": { "schema": { @@ -16102,7 +16298,7 @@ "tags": [ "NewComePeople.Person.Location" ], - "summary": "Get the items of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation in the Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location collection", + "summary": "Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location as Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation", "operationId": "NewComePeople.Friends.GetHomeAddress.AsEventLocation", "parameters": [ { @@ -16128,7 +16324,14 @@ ], "responses": { "200": { - "$ref": "#/components/responses/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocationCollectionResponse" + "description": "Entity result.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation" + } + } + } }, "default": { "$ref": "#/components/responses/error" @@ -16210,7 +16413,7 @@ ], "responses": { "200": { - "description": "Result entities", + "description": "Entity result.", "content": { "application/json": { "schema": { @@ -16299,7 +16502,7 @@ ], "responses": { "200": { - "description": "Result entities", + "description": "Entity result.", "content": { "application/json": { "schema": { @@ -17008,7 +17211,7 @@ ], "responses": { "200": { - "description": "Result entities", + "description": "Entity result.", "content": { "application/json": { "schema": { @@ -17067,7 +17270,7 @@ "tags": [ "NewComePeople.Location" ], - "summary": "Get the items of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation in the Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location collection", + "summary": "Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location as Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation", "operationId": "NewComePeople.GetHomeAddress.AsEventLocation", "parameters": [ { @@ -17083,7 +17286,14 @@ ], "responses": { "200": { - "$ref": "#/components/responses/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocationCollectionResponse" + "description": "Entity result.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation" + } + } + } }, "default": { "$ref": "#/components/responses/error" @@ -19005,7 +19215,7 @@ "tags": [ "People.Location" ], - "summary": "Get the items of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation in the Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location collection", + "summary": "Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location as Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation", "operationId": "People.ListAddressInfo.AsEventLocation", "parameters": [ { @@ -19021,7 +19231,14 @@ ], "responses": { "200": { - "$ref": "#/components/responses/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocationCollectionResponse" + "description": "Entity result.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation" + } + } + } }, "default": { "$ref": "#/components/responses/error" @@ -19580,7 +19797,7 @@ "tags": [ "People.Person.Location" ], - "summary": "Get the items of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation in the Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location collection", + "summary": "Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location as Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation", "operationId": "People.BestFriend.ListAddressInfo.AsEventLocation", "parameters": [ { @@ -19596,7 +19813,14 @@ ], "responses": { "200": { - "$ref": "#/components/responses/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocationCollectionResponse" + "description": "Entity result.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation" + } + } + } }, "default": { "$ref": "#/components/responses/error" @@ -19700,7 +19924,7 @@ ], "responses": { "200": { - "description": "Result entities", + "description": "Entity result.", "content": { "application/json": { "schema": { @@ -19773,7 +19997,7 @@ "tags": [ "People.Person.Location" ], - "summary": "Get the items of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation in the Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location collection", + "summary": "Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location as Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation", "operationId": "People.BestFriend.GetHomeAddress.AsEventLocation", "parameters": [ { @@ -19789,7 +20013,14 @@ ], "responses": { "200": { - "$ref": "#/components/responses/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocationCollectionResponse" + "description": "Entity result.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation" + } + } + } }, "default": { "$ref": "#/components/responses/error" @@ -19854,7 +20085,7 @@ ], "responses": { "200": { - "description": "Result entities", + "description": "Entity result.", "content": { "application/json": { "schema": { @@ -19931,7 +20162,7 @@ ], "responses": { "200": { - "description": "Result entities", + "description": "Entity result.", "content": { "application/json": { "schema": { @@ -20556,7 +20787,7 @@ "tags": [ "People.Person.Location" ], - "summary": "Get the items of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation in the Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location collection", + "summary": "Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location as Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation", "operationId": "People.Friends.ListAddressInfo.AsEventLocation", "parameters": [ { @@ -20582,7 +20813,14 @@ ], "responses": { "200": { - "$ref": "#/components/responses/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocationCollectionResponse" + "description": "Entity result.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation" + } + } + } }, "default": { "$ref": "#/components/responses/error" @@ -20706,7 +20944,7 @@ ], "responses": { "200": { - "description": "Result entities", + "description": "Entity result.", "content": { "application/json": { "schema": { @@ -20789,7 +21027,7 @@ "tags": [ "People.Person.Location" ], - "summary": "Get the items of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation in the Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location collection", + "summary": "Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location as Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation", "operationId": "People.Friends.GetHomeAddress.AsEventLocation", "parameters": [ { @@ -20815,7 +21053,14 @@ ], "responses": { "200": { - "$ref": "#/components/responses/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocationCollectionResponse" + "description": "Entity result.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation" + } + } + } }, "default": { "$ref": "#/components/responses/error" @@ -20904,7 +21149,7 @@ ], "responses": { "200": { - "description": "Result entities", + "description": "Entity result.", "content": { "application/json": { "schema": { @@ -21000,7 +21245,7 @@ ], "responses": { "200": { - "description": "Result entities", + "description": "Entity result.", "content": { "application/json": { "schema": { @@ -21808,7 +22053,7 @@ ], "responses": { "200": { - "description": "Result entities", + "description": "Entity result.", "content": { "application/json": { "schema": { @@ -21881,7 +22126,7 @@ "tags": [ "People.Location" ], - "summary": "Get the items of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation in the Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location collection", + "summary": "Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location as Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation", "operationId": "People.GetHomeAddress.AsEventLocation", "parameters": [ { @@ -21897,7 +22142,14 @@ ], "responses": { "200": { - "$ref": "#/components/responses/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocationCollectionResponse" + "description": "Entity result.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation" + } + } + } }, "default": { "$ref": "#/components/responses/error" @@ -21976,7 +22228,7 @@ ], "responses": { "200": { - "description": "Result entities", + "description": "Entity result.", "content": { "application/json": { "schema": { @@ -22263,7 +22515,7 @@ "tags": [ "People.Location" ], - "summary": "Get the items of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation in the Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location collection", + "summary": "Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location as Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation", "operationId": "People.ListAddressInfo.AsEventLocation", "parameters": [ { @@ -22279,7 +22531,14 @@ ], "responses": { "200": { - "$ref": "#/components/responses/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocationCollectionResponse" + "description": "Entity result.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation" + } + } + } }, "default": { "$ref": "#/components/responses/error" @@ -22866,7 +23125,7 @@ "tags": [ "People.Person.Location" ], - "summary": "Get the items of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation in the Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location collection", + "summary": "Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location as Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation", "operationId": "People.BestFriend.ListAddressInfo.AsEventLocation", "parameters": [ { @@ -22882,7 +23141,14 @@ ], "responses": { "200": { - "$ref": "#/components/responses/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocationCollectionResponse" + "description": "Entity result.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation" + } + } + } }, "default": { "$ref": "#/components/responses/error" @@ -23000,7 +23266,7 @@ ], "responses": { "200": { - "description": "Result entities", + "description": "Entity result.", "content": { "application/json": { "schema": { @@ -23073,7 +23339,7 @@ "tags": [ "People.Person.Location" ], - "summary": "Get the items of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation in the Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location collection", + "summary": "Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location as Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation", "operationId": "People.BestFriend.GetHomeAddress.AsEventLocation", "parameters": [ { @@ -23089,7 +23355,14 @@ ], "responses": { "200": { - "$ref": "#/components/responses/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocationCollectionResponse" + "description": "Entity result.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation" + } + } + } }, "default": { "$ref": "#/components/responses/error" @@ -23154,7 +23427,7 @@ ], "responses": { "200": { - "description": "Result entities", + "description": "Entity result.", "content": { "application/json": { "schema": { @@ -23784,7 +24057,7 @@ "tags": [ "People.Person.Location" ], - "summary": "Get the items of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation in the Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location collection", + "summary": "Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location as Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation", "operationId": "People.Friends.ListAddressInfo.AsEventLocation", "parameters": [ { @@ -23810,7 +24083,14 @@ ], "responses": { "200": { - "$ref": "#/components/responses/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocationCollectionResponse" + "description": "Entity result.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation" + } + } + } }, "default": { "$ref": "#/components/responses/error" @@ -23948,7 +24228,7 @@ ], "responses": { "200": { - "description": "Result entities", + "description": "Entity result.", "content": { "application/json": { "schema": { @@ -24031,7 +24311,7 @@ "tags": [ "People.Person.Location" ], - "summary": "Get the items of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation in the Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location collection", + "summary": "Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location as Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation", "operationId": "People.Friends.GetHomeAddress.AsEventLocation", "parameters": [ { @@ -24057,7 +24337,14 @@ ], "responses": { "200": { - "$ref": "#/components/responses/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocationCollectionResponse" + "description": "Entity result.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation" + } + } + } }, "default": { "$ref": "#/components/responses/error" @@ -24146,7 +24433,7 @@ ], "responses": { "200": { - "description": "Result entities", + "description": "Entity result.", "content": { "application/json": { "schema": { @@ -24774,7 +25061,7 @@ ], "responses": { "200": { - "description": "Result entities", + "description": "Entity result.", "content": { "application/json": { "schema": { @@ -24847,7 +25134,7 @@ "tags": [ "People.Location" ], - "summary": "Get the items of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation in the Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location collection", + "summary": "Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location as Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation", "operationId": "People.GetHomeAddress.AsEventLocation", "parameters": [ { @@ -24863,7 +25150,14 @@ ], "responses": { "200": { - "$ref": "#/components/responses/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocationCollectionResponse" + "description": "Entity result.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation" + } + } + } }, "default": { "$ref": "#/components/responses/error" @@ -25334,7 +25628,7 @@ "tags": [ "People.Person.Location" ], - "summary": "Get the items of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation in the Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location collection", + "summary": "Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location as Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation", "operationId": "People.Peers.ListAddressInfo.AsEventLocation", "parameters": [ { @@ -25360,7 +25654,14 @@ ], "responses": { "200": { - "$ref": "#/components/responses/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocationCollectionResponse" + "description": "Entity result.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation" + } + } + } }, "default": { "$ref": "#/components/responses/error" @@ -25498,7 +25799,7 @@ ], "responses": { "200": { - "description": "Result entities", + "description": "Entity result.", "content": { "application/json": { "schema": { @@ -25581,7 +25882,7 @@ "tags": [ "People.Person.Location" ], - "summary": "Get the items of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation in the Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location collection", + "summary": "Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location as Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation", "operationId": "People.Peers.GetHomeAddress.AsEventLocation", "parameters": [ { @@ -25607,7 +25908,14 @@ ], "responses": { "200": { - "$ref": "#/components/responses/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocationCollectionResponse" + "description": "Entity result.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation" + } + } + } }, "default": { "$ref": "#/components/responses/error" @@ -27249,7 +27557,7 @@ ], "responses": { "200": { - "description": "Result entities", + "description": "Entity result.", "content": { "application/json": { "schema": { @@ -27536,7 +27844,7 @@ "tags": [ "People.Location" ], - "summary": "Get the items of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation in the Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location collection", + "summary": "Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location as Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation", "operationId": "People.ListAddressInfo.AsEventLocation", "parameters": [ { @@ -27552,7 +27860,14 @@ ], "responses": { "200": { - "$ref": "#/components/responses/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocationCollectionResponse" + "description": "Entity result.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation" + } + } + } }, "default": { "$ref": "#/components/responses/error" @@ -28139,7 +28454,7 @@ "tags": [ "People.Person.Location" ], - "summary": "Get the items of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation in the Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location collection", + "summary": "Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location as Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation", "operationId": "People.BestFriend.ListAddressInfo.AsEventLocation", "parameters": [ { @@ -28155,7 +28470,14 @@ ], "responses": { "200": { - "$ref": "#/components/responses/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocationCollectionResponse" + "description": "Entity result.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation" + } + } + } }, "default": { "$ref": "#/components/responses/error" @@ -28273,7 +28595,7 @@ ], "responses": { "200": { - "description": "Result entities", + "description": "Entity result.", "content": { "application/json": { "schema": { @@ -28346,7 +28668,7 @@ "tags": [ "People.Person.Location" ], - "summary": "Get the items of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation in the Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location collection", + "summary": "Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location as Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation", "operationId": "People.BestFriend.GetHomeAddress.AsEventLocation", "parameters": [ { @@ -28362,7 +28684,14 @@ ], "responses": { "200": { - "$ref": "#/components/responses/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocationCollectionResponse" + "description": "Entity result.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation" + } + } + } }, "default": { "$ref": "#/components/responses/error" @@ -28427,7 +28756,7 @@ ], "responses": { "200": { - "description": "Result entities", + "description": "Entity result.", "content": { "application/json": { "schema": { @@ -29038,7 +29367,7 @@ "tags": [ "People.Person.Location" ], - "summary": "Get the items of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation in the Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location collection", + "summary": "Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location as Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation", "operationId": "People.DirectReports.ListAddressInfo.AsEventLocation", "parameters": [ { @@ -29064,7 +29393,14 @@ ], "responses": { "200": { - "$ref": "#/components/responses/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocationCollectionResponse" + "description": "Entity result.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation" + } + } + } }, "default": { "$ref": "#/components/responses/error" @@ -29202,7 +29538,7 @@ ], "responses": { "200": { - "description": "Result entities", + "description": "Entity result.", "content": { "application/json": { "schema": { @@ -29285,7 +29621,7 @@ "tags": [ "People.Person.Location" ], - "summary": "Get the items of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation in the Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location collection", + "summary": "Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location as Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation", "operationId": "People.DirectReports.GetHomeAddress.AsEventLocation", "parameters": [ { @@ -29311,7 +29647,14 @@ ], "responses": { "200": { - "$ref": "#/components/responses/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocationCollectionResponse" + "description": "Entity result.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation" + } + } + } }, "default": { "$ref": "#/components/responses/error" @@ -30150,7 +30493,7 @@ "tags": [ "People.Person.Location" ], - "summary": "Get the items of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation in the Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location collection", + "summary": "Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location as Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation", "operationId": "People.Friends.ListAddressInfo.AsEventLocation", "parameters": [ { @@ -30176,7 +30519,14 @@ ], "responses": { "200": { - "$ref": "#/components/responses/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocationCollectionResponse" + "description": "Entity result.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation" + } + } + } }, "default": { "$ref": "#/components/responses/error" @@ -30300,7 +30650,7 @@ ], "responses": { "200": { - "description": "Result entities", + "description": "Entity result.", "content": { "application/json": { "schema": { @@ -30383,7 +30733,7 @@ "tags": [ "People.Person.Location" ], - "summary": "Get the items of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation in the Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location collection", + "summary": "Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location as Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation", "operationId": "People.Friends.GetHomeAddress.AsEventLocation", "parameters": [ { @@ -30409,7 +30759,14 @@ ], "responses": { "200": { - "$ref": "#/components/responses/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocationCollectionResponse" + "description": "Entity result.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation" + } + } + } }, "default": { "$ref": "#/components/responses/error" @@ -30498,7 +30855,7 @@ ], "responses": { "200": { - "description": "Result entities", + "description": "Entity result.", "content": { "application/json": { "schema": { @@ -31126,7 +31483,7 @@ ], "responses": { "200": { - "description": "Result entities", + "description": "Entity result.", "content": { "application/json": { "schema": { @@ -31199,7 +31556,7 @@ "tags": [ "People.Location" ], - "summary": "Get the items of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation in the Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location collection", + "summary": "Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location as Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation", "operationId": "People.GetHomeAddress.AsEventLocation", "parameters": [ { @@ -31215,7 +31572,14 @@ ], "responses": { "200": { - "$ref": "#/components/responses/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocationCollectionResponse" + "description": "Entity result.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation" + } + } + } }, "default": { "$ref": "#/components/responses/error" diff --git a/test/Microsoft.OpenAPI.OData.Reader.Tests/Resources/TripService.OpenApi.yaml b/test/Microsoft.OpenAPI.OData.Reader.Tests/Resources/TripService.OpenApi.yaml index 55661ce5..366f65b5 100644 --- a/test/Microsoft.OpenAPI.OData.Reader.Tests/Resources/TripService.OpenApi.yaml +++ b/test/Microsoft.OpenAPI.OData.Reader.Tests/Resources/TripService.OpenApi.yaml @@ -387,7 +387,7 @@ paths: type: string responses: '200': - description: Result entities + description: Entity result. content: application/json: schema: @@ -679,7 +679,7 @@ paths: get: tags: - Airports.Person.Location - summary: Get the items of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation in the Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location collection + summary: Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location as Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation operationId: Airports.EmergencyAuthority.ListAddressInfo.AsEventLocation parameters: - name: IcaoCode @@ -691,7 +691,11 @@ paths: x-ms-docs-key-type: Airport responses: '200': - $ref: '#/components/responses/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocationCollectionResponse' + description: Entity result. + content: + application/json: + schema: + $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation' default: $ref: '#/components/responses/error' '/Airports/{IcaoCode}/Location/EmergencyAuthority/AddressInfo/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation/$count': @@ -750,7 +754,7 @@ paths: type: string responses: '200': - description: Result entities + description: Entity result. content: application/json: schema: @@ -787,7 +791,7 @@ paths: get: tags: - Airports.Person.Location - summary: Get the items of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation in the Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location collection + summary: Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location as Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation operationId: Airports.EmergencyAuthority.GetHomeAddress.AsEventLocation parameters: - name: IcaoCode @@ -799,7 +803,11 @@ paths: x-ms-docs-key-type: Airport responses: '200': - $ref: '#/components/responses/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocationCollectionResponse' + description: Entity result. + content: + application/json: + schema: + $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation' default: $ref: '#/components/responses/error' '/Airports/{IcaoCode}/Location/EmergencyAuthority/Photo': @@ -1158,11 +1166,15 @@ paths: get: tags: - Me.Location - summary: Get the items of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation in the Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location collection + summary: Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location as Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation operationId: Me.ListAddressInfo.AsEventLocation responses: '200': - $ref: '#/components/responses/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocationCollectionResponse' + description: Entity result. + content: + application/json: + schema: + $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation' default: $ref: '#/components/responses/error' deprecated: true @@ -1468,11 +1480,15 @@ paths: get: tags: - Me.Person.Location - summary: Get the items of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation in the Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location collection + summary: Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location as Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation operationId: Me.BestFriend.ListAddressInfo.AsEventLocation responses: '200': - $ref: '#/components/responses/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocationCollectionResponse' + description: Entity result. + content: + application/json: + schema: + $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation' default: $ref: '#/components/responses/error' deprecated: true @@ -1529,7 +1545,7 @@ paths: type: string responses: '200': - description: Result entities + description: Entity result. content: application/json: schema: @@ -1570,11 +1586,15 @@ paths: get: tags: - Me.Person.Location - summary: Get the items of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation in the Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location collection + summary: Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location as Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation operationId: Me.BestFriend.GetHomeAddress.AsEventLocation responses: '200': - $ref: '#/components/responses/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocationCollectionResponse' + description: Entity result. + content: + application/json: + schema: + $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation' default: $ref: '#/components/responses/error' deprecated: true @@ -1613,7 +1633,7 @@ paths: type: string responses: '200': - description: Result entities + description: Entity result. content: application/json: schema: @@ -1656,7 +1676,7 @@ paths: type: string responses: '200': - description: Result entities + description: Entity result. content: application/json: schema: @@ -2005,7 +2025,7 @@ paths: get: tags: - Me.Person.Location - summary: Get the items of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation in the Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location collection + summary: Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location as Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation operationId: Me.Friends.ListAddressInfo.AsEventLocation parameters: - name: UserName @@ -2017,7 +2037,11 @@ paths: x-ms-docs-key-type: Person responses: '200': - $ref: '#/components/responses/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocationCollectionResponse' + description: Entity result. + content: + application/json: + schema: + $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation' default: $ref: '#/components/responses/error' deprecated: true @@ -2088,7 +2112,7 @@ paths: type: string responses: '200': - description: Result entities + description: Entity result. content: application/json: schema: @@ -2137,7 +2161,7 @@ paths: get: tags: - Me.Person.Location - summary: Get the items of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation in the Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location collection + summary: Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location as Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation operationId: Me.Friends.GetHomeAddress.AsEventLocation parameters: - name: UserName @@ -2149,7 +2173,11 @@ paths: x-ms-docs-key-type: Person responses: '200': - $ref: '#/components/responses/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocationCollectionResponse' + description: Entity result. + content: + application/json: + schema: + $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation' default: $ref: '#/components/responses/error' deprecated: true @@ -2204,7 +2232,7 @@ paths: type: string responses: '200': - description: Result entities + description: Entity result. content: application/json: schema: @@ -2263,7 +2291,7 @@ paths: type: string responses: '200': - description: Result entities + description: Entity result. content: application/json: schema: @@ -2706,7 +2734,7 @@ paths: type: string responses: '200': - description: Result entities + description: Entity result. content: application/json: schema: @@ -2747,11 +2775,15 @@ paths: get: tags: - Me.Location - summary: Get the items of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation in the Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location collection + summary: Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location as Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation operationId: Me.GetHomeAddress.AsEventLocation responses: '200': - $ref: '#/components/responses/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocationCollectionResponse' + description: Entity result. + content: + application/json: + schema: + $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation' default: $ref: '#/components/responses/error' deprecated: true @@ -2790,7 +2822,7 @@ paths: type: string responses: '200': - description: Result entities + description: Entity result. content: application/json: schema: @@ -2950,11 +2982,15 @@ paths: get: tags: - Me.Location - summary: Get the items of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation in the Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location collection + summary: Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location as Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation operationId: Me.ListAddressInfo.AsEventLocation responses: '200': - $ref: '#/components/responses/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocationCollectionResponse' + description: Entity result. + content: + application/json: + schema: + $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation' default: $ref: '#/components/responses/error' deprecated: true @@ -3278,11 +3314,15 @@ paths: get: tags: - Me.Person.Location - summary: Get the items of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation in the Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location collection + summary: Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location as Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation operationId: Me.BestFriend.ListAddressInfo.AsEventLocation responses: '200': - $ref: '#/components/responses/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocationCollectionResponse' + description: Entity result. + content: + application/json: + schema: + $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation' default: $ref: '#/components/responses/error' deprecated: true @@ -3348,7 +3388,7 @@ paths: type: string responses: '200': - description: Result entities + description: Entity result. content: application/json: schema: @@ -3389,11 +3429,15 @@ paths: get: tags: - Me.Person.Location - summary: Get the items of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation in the Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location collection + summary: Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location as Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation operationId: Me.BestFriend.GetHomeAddress.AsEventLocation responses: '200': - $ref: '#/components/responses/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocationCollectionResponse' + description: Entity result. + content: + application/json: + schema: + $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation' default: $ref: '#/components/responses/error' deprecated: true @@ -3432,7 +3476,7 @@ paths: type: string responses: '200': - description: Result entities + description: Entity result. content: application/json: schema: @@ -3790,7 +3834,7 @@ paths: get: tags: - Me.Person.Location - summary: Get the items of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation in the Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location collection + summary: Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location as Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation operationId: Me.Friends.ListAddressInfo.AsEventLocation parameters: - name: UserName @@ -3802,7 +3846,11 @@ paths: x-ms-docs-key-type: Person responses: '200': - $ref: '#/components/responses/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocationCollectionResponse' + description: Entity result. + content: + application/json: + schema: + $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation' default: $ref: '#/components/responses/error' deprecated: true @@ -3882,7 +3930,7 @@ paths: type: string responses: '200': - description: Result entities + description: Entity result. content: application/json: schema: @@ -3931,7 +3979,7 @@ paths: get: tags: - Me.Person.Location - summary: Get the items of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation in the Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location collection + summary: Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location as Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation operationId: Me.Friends.GetHomeAddress.AsEventLocation parameters: - name: UserName @@ -3943,7 +3991,11 @@ paths: x-ms-docs-key-type: Person responses: '200': - $ref: '#/components/responses/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocationCollectionResponse' + description: Entity result. + content: + application/json: + schema: + $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation' default: $ref: '#/components/responses/error' deprecated: true @@ -3998,7 +4050,7 @@ paths: type: string responses: '200': - description: Result entities + description: Entity result. content: application/json: schema: @@ -4348,7 +4400,7 @@ paths: type: string responses: '200': - description: Result entities + description: Entity result. content: application/json: schema: @@ -4389,11 +4441,15 @@ paths: get: tags: - Me.Location - summary: Get the items of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation in the Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location collection + summary: Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location as Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation operationId: Me.GetHomeAddress.AsEventLocation responses: '200': - $ref: '#/components/responses/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocationCollectionResponse' + description: Entity result. + content: + application/json: + schema: + $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation' default: $ref: '#/components/responses/error' deprecated: true @@ -4665,7 +4721,7 @@ paths: get: tags: - Me.Person.Location - summary: Get the items of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation in the Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location collection + summary: Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location as Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation operationId: Me.Peers.ListAddressInfo.AsEventLocation parameters: - name: UserName @@ -4677,7 +4733,11 @@ paths: x-ms-docs-key-type: Person responses: '200': - $ref: '#/components/responses/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocationCollectionResponse' + description: Entity result. + content: + application/json: + schema: + $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation' default: $ref: '#/components/responses/error' deprecated: true @@ -4757,7 +4817,7 @@ paths: type: string responses: '200': - description: Result entities + description: Entity result. content: application/json: schema: @@ -4806,7 +4866,7 @@ paths: get: tags: - Me.Person.Location - summary: Get the items of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation in the Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location collection + summary: Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location as Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation operationId: Me.Peers.GetHomeAddress.AsEventLocation parameters: - name: UserName @@ -4818,7 +4878,11 @@ paths: x-ms-docs-key-type: Person responses: '200': - $ref: '#/components/responses/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocationCollectionResponse' + description: Entity result. + content: + application/json: + schema: + $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation' default: $ref: '#/components/responses/error' deprecated: true @@ -5760,7 +5824,7 @@ paths: type: string responses: '200': - description: Result entities + description: Entity result. content: application/json: schema: @@ -5920,11 +5984,15 @@ paths: get: tags: - Me.Location - summary: Get the items of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation in the Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location collection + summary: Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location as Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation operationId: Me.ListAddressInfo.AsEventLocation responses: '200': - $ref: '#/components/responses/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocationCollectionResponse' + description: Entity result. + content: + application/json: + schema: + $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation' default: $ref: '#/components/responses/error' deprecated: true @@ -6248,11 +6316,15 @@ paths: get: tags: - Me.Person.Location - summary: Get the items of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation in the Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location collection + summary: Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location as Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation operationId: Me.BestFriend.ListAddressInfo.AsEventLocation responses: '200': - $ref: '#/components/responses/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocationCollectionResponse' + description: Entity result. + content: + application/json: + schema: + $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation' default: $ref: '#/components/responses/error' deprecated: true @@ -6318,7 +6390,7 @@ paths: type: string responses: '200': - description: Result entities + description: Entity result. content: application/json: schema: @@ -6359,11 +6431,15 @@ paths: get: tags: - Me.Person.Location - summary: Get the items of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation in the Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location collection + summary: Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location as Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation operationId: Me.BestFriend.GetHomeAddress.AsEventLocation responses: '200': - $ref: '#/components/responses/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocationCollectionResponse' + description: Entity result. + content: + application/json: + schema: + $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation' default: $ref: '#/components/responses/error' deprecated: true @@ -6402,7 +6478,7 @@ paths: type: string responses: '200': - description: Result entities + description: Entity result. content: application/json: schema: @@ -6747,7 +6823,7 @@ paths: get: tags: - Me.Person.Location - summary: Get the items of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation in the Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location collection + summary: Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location as Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation operationId: Me.DirectReports.ListAddressInfo.AsEventLocation parameters: - name: UserName @@ -6759,7 +6835,11 @@ paths: x-ms-docs-key-type: Person responses: '200': - $ref: '#/components/responses/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocationCollectionResponse' + description: Entity result. + content: + application/json: + schema: + $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation' default: $ref: '#/components/responses/error' deprecated: true @@ -6839,7 +6919,7 @@ paths: type: string responses: '200': - description: Result entities + description: Entity result. content: application/json: schema: @@ -6888,7 +6968,7 @@ paths: get: tags: - Me.Person.Location - summary: Get the items of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation in the Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location collection + summary: Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location as Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation operationId: Me.DirectReports.GetHomeAddress.AsEventLocation parameters: - name: UserName @@ -6900,7 +6980,11 @@ paths: x-ms-docs-key-type: Person responses: '200': - $ref: '#/components/responses/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocationCollectionResponse' + description: Entity result. + content: + application/json: + schema: + $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation' default: $ref: '#/components/responses/error' deprecated: true @@ -7372,7 +7456,7 @@ paths: get: tags: - Me.Person.Location - summary: Get the items of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation in the Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location collection + summary: Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location as Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation operationId: Me.Friends.ListAddressInfo.AsEventLocation parameters: - name: UserName @@ -7384,7 +7468,11 @@ paths: x-ms-docs-key-type: Person responses: '200': - $ref: '#/components/responses/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocationCollectionResponse' + description: Entity result. + content: + application/json: + schema: + $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation' default: $ref: '#/components/responses/error' deprecated: true @@ -7455,7 +7543,7 @@ paths: type: string responses: '200': - description: Result entities + description: Entity result. content: application/json: schema: @@ -7504,7 +7592,7 @@ paths: get: tags: - Me.Person.Location - summary: Get the items of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation in the Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location collection + summary: Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location as Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation operationId: Me.Friends.GetHomeAddress.AsEventLocation parameters: - name: UserName @@ -7516,7 +7604,11 @@ paths: x-ms-docs-key-type: Person responses: '200': - $ref: '#/components/responses/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocationCollectionResponse' + description: Entity result. + content: + application/json: + schema: + $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation' default: $ref: '#/components/responses/error' deprecated: true @@ -7571,7 +7663,7 @@ paths: type: string responses: '200': - description: Result entities + description: Entity result. content: application/json: schema: @@ -7921,7 +8013,7 @@ paths: type: string responses: '200': - description: Result entities + description: Entity result. content: application/json: schema: @@ -7962,11 +8054,15 @@ paths: get: tags: - Me.Location - summary: Get the items of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation in the Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location collection + summary: Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location as Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation operationId: Me.GetHomeAddress.AsEventLocation responses: '200': - $ref: '#/components/responses/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocationCollectionResponse' + description: Entity result. + content: + application/json: + schema: + $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation' default: $ref: '#/components/responses/error' deprecated: true @@ -9654,7 +9750,7 @@ paths: get: tags: - NewComePeople.Location - summary: Get the items of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation in the Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location collection + summary: Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location as Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation operationId: NewComePeople.ListAddressInfo.AsEventLocation parameters: - name: UserName @@ -9666,7 +9762,11 @@ paths: x-ms-docs-key-type: Person responses: '200': - $ref: '#/components/responses/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocationCollectionResponse' + description: Entity result. + content: + application/json: + schema: + $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation' default: $ref: '#/components/responses/error' '/NewComePeople/{UserName}/AddressInfo/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation/$count': @@ -10049,7 +10149,7 @@ paths: get: tags: - NewComePeople.Person.Location - summary: Get the items of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation in the Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location collection + summary: Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location as Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation operationId: NewComePeople.BestFriend.ListAddressInfo.AsEventLocation parameters: - name: UserName @@ -10061,7 +10161,11 @@ paths: x-ms-docs-key-type: Person responses: '200': - $ref: '#/components/responses/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocationCollectionResponse' + description: Entity result. + content: + application/json: + schema: + $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation' default: $ref: '#/components/responses/error' deprecated: true @@ -10141,7 +10245,7 @@ paths: type: string responses: '200': - description: Result entities + description: Entity result. content: application/json: schema: @@ -10190,7 +10294,7 @@ paths: get: tags: - NewComePeople.Person.Location - summary: Get the items of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation in the Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location collection + summary: Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location as Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation operationId: NewComePeople.BestFriend.GetHomeAddress.AsEventLocation parameters: - name: UserName @@ -10202,7 +10306,11 @@ paths: x-ms-docs-key-type: Person responses: '200': - $ref: '#/components/responses/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocationCollectionResponse' + description: Entity result. + content: + application/json: + schema: + $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation' default: $ref: '#/components/responses/error' deprecated: true @@ -10248,7 +10356,7 @@ paths: type: string responses: '200': - description: Result entities + description: Entity result. content: application/json: schema: @@ -10298,7 +10406,7 @@ paths: type: string responses: '200': - description: Result entities + description: Entity result. content: application/json: schema: @@ -10682,7 +10790,7 @@ paths: get: tags: - NewComePeople.Person.Location - summary: Get the items of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation in the Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location collection + summary: Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location as Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation operationId: NewComePeople.Friends.ListAddressInfo.AsEventLocation parameters: - name: UserName @@ -10701,7 +10809,11 @@ paths: x-ms-docs-key-type: Person responses: '200': - $ref: '#/components/responses/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocationCollectionResponse' + description: Entity result. + content: + application/json: + schema: + $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation' default: $ref: '#/components/responses/error' '/NewComePeople/{UserName}/Friends/{UserName1}/AddressInfo/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation/$count': @@ -10783,7 +10895,7 @@ paths: type: string responses: '200': - description: Result entities + description: Entity result. content: application/json: schema: @@ -10827,7 +10939,7 @@ paths: get: tags: - NewComePeople.Person.Location - summary: Get the items of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation in the Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location collection + summary: Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location as Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation operationId: NewComePeople.Friends.GetHomeAddress.AsEventLocation parameters: - name: UserName @@ -10846,7 +10958,11 @@ paths: x-ms-docs-key-type: Person responses: '200': - $ref: '#/components/responses/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocationCollectionResponse' + description: Entity result. + content: + application/json: + schema: + $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation' default: $ref: '#/components/responses/error' '/NewComePeople/{UserName}/Friends/{UserName1}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.Employee': @@ -10902,7 +11018,7 @@ paths: type: string responses: '200': - description: Result entities + description: Entity result. content: application/json: schema: @@ -10962,7 +11078,7 @@ paths: type: string responses: '200': - description: Result entities + description: Entity result. content: application/json: schema: @@ -11418,7 +11534,7 @@ paths: type: string responses: '200': - description: Result entities + description: Entity result. content: application/json: schema: @@ -11455,7 +11571,7 @@ paths: get: tags: - NewComePeople.Location - summary: Get the items of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation in the Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location collection + summary: Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location as Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation operationId: NewComePeople.GetHomeAddress.AsEventLocation parameters: - name: UserName @@ -11467,7 +11583,11 @@ paths: x-ms-docs-key-type: Person responses: '200': - $ref: '#/components/responses/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocationCollectionResponse' + description: Entity result. + content: + application/json: + schema: + $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation' default: $ref: '#/components/responses/error' '/NewComePeople/{UserName}/Microsoft.OData.Service.Sample.TrippinInMemory.Models.GetFavoriteAirline()': @@ -12745,7 +12865,7 @@ paths: get: tags: - People.Location - summary: Get the items of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation in the Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location collection + summary: Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location as Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation operationId: People.ListAddressInfo.AsEventLocation parameters: - name: UserName @@ -12757,7 +12877,11 @@ paths: x-ms-docs-key-type: Person responses: '200': - $ref: '#/components/responses/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocationCollectionResponse' + description: Entity result. + content: + application/json: + schema: + $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation' default: $ref: '#/components/responses/error' deprecated: true @@ -13137,7 +13261,7 @@ paths: get: tags: - People.Person.Location - summary: Get the items of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation in the Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location collection + summary: Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location as Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation operationId: People.BestFriend.ListAddressInfo.AsEventLocation parameters: - name: UserName @@ -13149,7 +13273,11 @@ paths: x-ms-docs-key-type: Person responses: '200': - $ref: '#/components/responses/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocationCollectionResponse' + description: Entity result. + content: + application/json: + schema: + $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation' default: $ref: '#/components/responses/error' deprecated: true @@ -13220,7 +13348,7 @@ paths: type: string responses: '200': - description: Result entities + description: Entity result. content: application/json: schema: @@ -13269,7 +13397,7 @@ paths: get: tags: - People.Person.Location - summary: Get the items of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation in the Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location collection + summary: Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location as Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation operationId: People.BestFriend.GetHomeAddress.AsEventLocation parameters: - name: UserName @@ -13281,7 +13409,11 @@ paths: x-ms-docs-key-type: Person responses: '200': - $ref: '#/components/responses/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocationCollectionResponse' + description: Entity result. + content: + application/json: + schema: + $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation' default: $ref: '#/components/responses/error' deprecated: true @@ -13327,7 +13459,7 @@ paths: type: string responses: '200': - description: Result entities + description: Entity result. content: application/json: schema: @@ -13381,7 +13513,7 @@ paths: type: string responses: '200': - description: Result entities + description: Entity result. content: application/json: schema: @@ -13802,7 +13934,7 @@ paths: get: tags: - People.Person.Location - summary: Get the items of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation in the Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location collection + summary: Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location as Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation operationId: People.Friends.ListAddressInfo.AsEventLocation parameters: - name: UserName @@ -13821,7 +13953,11 @@ paths: x-ms-docs-key-type: Person responses: '200': - $ref: '#/components/responses/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocationCollectionResponse' + description: Entity result. + content: + application/json: + schema: + $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation' default: $ref: '#/components/responses/error' deprecated: true @@ -13906,7 +14042,7 @@ paths: type: string responses: '200': - description: Result entities + description: Entity result. content: application/json: schema: @@ -13962,7 +14098,7 @@ paths: get: tags: - People.Person.Location - summary: Get the items of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation in the Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location collection + summary: Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location as Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation operationId: People.Friends.GetHomeAddress.AsEventLocation parameters: - name: UserName @@ -13981,7 +14117,11 @@ paths: x-ms-docs-key-type: Person responses: '200': - $ref: '#/components/responses/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocationCollectionResponse' + description: Entity result. + content: + application/json: + schema: + $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation' default: $ref: '#/components/responses/error' deprecated: true @@ -14043,7 +14183,7 @@ paths: type: string responses: '200': - description: Result entities + description: Entity result. content: application/json: schema: @@ -14109,7 +14249,7 @@ paths: type: string responses: '200': - description: Result entities + description: Entity result. content: application/json: schema: @@ -14649,7 +14789,7 @@ paths: type: string responses: '200': - description: Result entities + description: Entity result. content: application/json: schema: @@ -14698,7 +14838,7 @@ paths: get: tags: - People.Location - summary: Get the items of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation in the Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location collection + summary: Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location as Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation operationId: People.GetHomeAddress.AsEventLocation parameters: - name: UserName @@ -14710,7 +14850,11 @@ paths: x-ms-docs-key-type: Person responses: '200': - $ref: '#/components/responses/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocationCollectionResponse' + description: Entity result. + content: + application/json: + schema: + $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation' default: $ref: '#/components/responses/error' deprecated: true @@ -14765,7 +14909,7 @@ paths: type: string responses: '200': - description: Result entities + description: Entity result. content: application/json: schema: @@ -14954,7 +15098,7 @@ paths: get: tags: - People.Location - summary: Get the items of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation in the Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location collection + summary: Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location as Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation operationId: People.ListAddressInfo.AsEventLocation parameters: - name: UserName @@ -14966,7 +15110,11 @@ paths: x-ms-docs-key-type: Person responses: '200': - $ref: '#/components/responses/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocationCollectionResponse' + description: Entity result. + content: + application/json: + schema: + $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation' default: $ref: '#/components/responses/error' deprecated: true @@ -15364,7 +15512,7 @@ paths: get: tags: - People.Person.Location - summary: Get the items of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation in the Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location collection + summary: Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location as Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation operationId: People.BestFriend.ListAddressInfo.AsEventLocation parameters: - name: UserName @@ -15376,7 +15524,11 @@ paths: x-ms-docs-key-type: Person responses: '200': - $ref: '#/components/responses/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocationCollectionResponse' + description: Entity result. + content: + application/json: + schema: + $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation' default: $ref: '#/components/responses/error' deprecated: true @@ -15456,7 +15608,7 @@ paths: type: string responses: '200': - description: Result entities + description: Entity result. content: application/json: schema: @@ -15505,7 +15657,7 @@ paths: get: tags: - People.Person.Location - summary: Get the items of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation in the Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location collection + summary: Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location as Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation operationId: People.BestFriend.GetHomeAddress.AsEventLocation parameters: - name: UserName @@ -15517,7 +15669,11 @@ paths: x-ms-docs-key-type: Person responses: '200': - $ref: '#/components/responses/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocationCollectionResponse' + description: Entity result. + content: + application/json: + schema: + $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation' default: $ref: '#/components/responses/error' deprecated: true @@ -15563,7 +15719,7 @@ paths: type: string responses: '200': - description: Result entities + description: Entity result. content: application/json: schema: @@ -15986,7 +16142,7 @@ paths: get: tags: - People.Person.Location - summary: Get the items of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation in the Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location collection + summary: Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location as Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation operationId: People.Friends.ListAddressInfo.AsEventLocation parameters: - name: UserName @@ -16005,7 +16161,11 @@ paths: x-ms-docs-key-type: Person responses: '200': - $ref: '#/components/responses/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocationCollectionResponse' + description: Entity result. + content: + application/json: + schema: + $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation' default: $ref: '#/components/responses/error' deprecated: true @@ -16099,7 +16259,7 @@ paths: type: string responses: '200': - description: Result entities + description: Entity result. content: application/json: schema: @@ -16155,7 +16315,7 @@ paths: get: tags: - People.Person.Location - summary: Get the items of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation in the Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location collection + summary: Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location as Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation operationId: People.Friends.GetHomeAddress.AsEventLocation parameters: - name: UserName @@ -16174,7 +16334,11 @@ paths: x-ms-docs-key-type: Person responses: '200': - $ref: '#/components/responses/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocationCollectionResponse' + description: Entity result. + content: + application/json: + schema: + $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation' default: $ref: '#/components/responses/error' deprecated: true @@ -16236,7 +16400,7 @@ paths: type: string responses: '200': - description: Result entities + description: Entity result. content: application/json: schema: @@ -16657,7 +16821,7 @@ paths: type: string responses: '200': - description: Result entities + description: Entity result. content: application/json: schema: @@ -16706,7 +16870,7 @@ paths: get: tags: - People.Location - summary: Get the items of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation in the Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location collection + summary: Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location as Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation operationId: People.GetHomeAddress.AsEventLocation parameters: - name: UserName @@ -16718,7 +16882,11 @@ paths: x-ms-docs-key-type: Person responses: '200': - $ref: '#/components/responses/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocationCollectionResponse' + description: Entity result. + content: + application/json: + schema: + $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation' default: $ref: '#/components/responses/error' deprecated: true @@ -17032,7 +17200,7 @@ paths: get: tags: - People.Person.Location - summary: Get the items of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation in the Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location collection + summary: Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location as Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation operationId: People.Peers.ListAddressInfo.AsEventLocation parameters: - name: UserName @@ -17051,7 +17219,11 @@ paths: x-ms-docs-key-type: Person responses: '200': - $ref: '#/components/responses/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocationCollectionResponse' + description: Entity result. + content: + application/json: + schema: + $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation' default: $ref: '#/components/responses/error' deprecated: true @@ -17145,7 +17317,7 @@ paths: type: string responses: '200': - description: Result entities + description: Entity result. content: application/json: schema: @@ -17201,7 +17373,7 @@ paths: get: tags: - People.Person.Location - summary: Get the items of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation in the Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location collection + summary: Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location as Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation operationId: People.Peers.GetHomeAddress.AsEventLocation parameters: - name: UserName @@ -17220,7 +17392,11 @@ paths: x-ms-docs-key-type: Person responses: '200': - $ref: '#/components/responses/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocationCollectionResponse' + description: Entity result. + content: + application/json: + schema: + $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation' default: $ref: '#/components/responses/error' deprecated: true @@ -18343,7 +18519,7 @@ paths: type: string responses: '200': - description: Result entities + description: Entity result. content: application/json: schema: @@ -18532,7 +18708,7 @@ paths: get: tags: - People.Location - summary: Get the items of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation in the Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location collection + summary: Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location as Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation operationId: People.ListAddressInfo.AsEventLocation parameters: - name: UserName @@ -18544,7 +18720,11 @@ paths: x-ms-docs-key-type: Person responses: '200': - $ref: '#/components/responses/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocationCollectionResponse' + description: Entity result. + content: + application/json: + schema: + $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation' default: $ref: '#/components/responses/error' deprecated: true @@ -18942,7 +19122,7 @@ paths: get: tags: - People.Person.Location - summary: Get the items of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation in the Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location collection + summary: Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location as Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation operationId: People.BestFriend.ListAddressInfo.AsEventLocation parameters: - name: UserName @@ -18954,7 +19134,11 @@ paths: x-ms-docs-key-type: Person responses: '200': - $ref: '#/components/responses/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocationCollectionResponse' + description: Entity result. + content: + application/json: + schema: + $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation' default: $ref: '#/components/responses/error' deprecated: true @@ -19034,7 +19218,7 @@ paths: type: string responses: '200': - description: Result entities + description: Entity result. content: application/json: schema: @@ -19083,7 +19267,7 @@ paths: get: tags: - People.Person.Location - summary: Get the items of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation in the Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location collection + summary: Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location as Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation operationId: People.BestFriend.GetHomeAddress.AsEventLocation parameters: - name: UserName @@ -19095,7 +19279,11 @@ paths: x-ms-docs-key-type: Person responses: '200': - $ref: '#/components/responses/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocationCollectionResponse' + description: Entity result. + content: + application/json: + schema: + $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation' default: $ref: '#/components/responses/error' deprecated: true @@ -19141,7 +19329,7 @@ paths: type: string responses: '200': - description: Result entities + description: Entity result. content: application/json: schema: @@ -19551,7 +19739,7 @@ paths: get: tags: - People.Person.Location - summary: Get the items of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation in the Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location collection + summary: Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location as Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation operationId: People.DirectReports.ListAddressInfo.AsEventLocation parameters: - name: UserName @@ -19570,7 +19758,11 @@ paths: x-ms-docs-key-type: Person responses: '200': - $ref: '#/components/responses/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocationCollectionResponse' + description: Entity result. + content: + application/json: + schema: + $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation' default: $ref: '#/components/responses/error' deprecated: true @@ -19664,7 +19856,7 @@ paths: type: string responses: '200': - description: Result entities + description: Entity result. content: application/json: schema: @@ -19720,7 +19912,7 @@ paths: get: tags: - People.Person.Location - summary: Get the items of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation in the Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location collection + summary: Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location as Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation operationId: People.DirectReports.GetHomeAddress.AsEventLocation parameters: - name: UserName @@ -19739,7 +19931,11 @@ paths: x-ms-docs-key-type: Person responses: '200': - $ref: '#/components/responses/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocationCollectionResponse' + description: Entity result. + content: + application/json: + schema: + $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation' default: $ref: '#/components/responses/error' deprecated: true @@ -20303,7 +20499,7 @@ paths: get: tags: - People.Person.Location - summary: Get the items of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation in the Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location collection + summary: Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location as Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation operationId: People.Friends.ListAddressInfo.AsEventLocation parameters: - name: UserName @@ -20322,7 +20518,11 @@ paths: x-ms-docs-key-type: Person responses: '200': - $ref: '#/components/responses/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocationCollectionResponse' + description: Entity result. + content: + application/json: + schema: + $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation' default: $ref: '#/components/responses/error' deprecated: true @@ -20407,7 +20607,7 @@ paths: type: string responses: '200': - description: Result entities + description: Entity result. content: application/json: schema: @@ -20463,7 +20663,7 @@ paths: get: tags: - People.Person.Location - summary: Get the items of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation in the Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location collection + summary: Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location as Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation operationId: People.Friends.GetHomeAddress.AsEventLocation parameters: - name: UserName @@ -20482,7 +20682,11 @@ paths: x-ms-docs-key-type: Person responses: '200': - $ref: '#/components/responses/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocationCollectionResponse' + description: Entity result. + content: + application/json: + schema: + $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation' default: $ref: '#/components/responses/error' deprecated: true @@ -20544,7 +20748,7 @@ paths: type: string responses: '200': - description: Result entities + description: Entity result. content: application/json: schema: @@ -20965,7 +21169,7 @@ paths: type: string responses: '200': - description: Result entities + description: Entity result. content: application/json: schema: @@ -21014,7 +21218,7 @@ paths: get: tags: - People.Location - summary: Get the items of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation in the Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location collection + summary: Get the item of type Microsoft.OData.Service.Sample.TrippinInMemory.Models.Location as Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation operationId: People.GetHomeAddress.AsEventLocation parameters: - name: UserName @@ -21026,7 +21230,11 @@ paths: x-ms-docs-key-type: Person responses: '200': - $ref: '#/components/responses/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocationCollectionResponse' + description: Entity result. + content: + application/json: + schema: + $ref: '#/components/schemas/Microsoft.OData.Service.Sample.TrippinInMemory.Models.EventLocation' default: $ref: '#/components/responses/error' deprecated: true